Sync splitting and matching regexes.