Split --regex and --filter options for parserTests.

Escape the string given for --filter so we don't have to worry about
cut-and-pasting test titles.

Change-Id: Ieb86c23712336b9a087fa2676e22ab965cf58962