some notes on regex