WIP-fix pattern and flag regexes
Highlight with the match string