whitespace terminates parsing of a regex
write out the flags when pprinting a regex
note progress made in regular expressions