regex notes and examples