Parsing implemented for or clauses in regex strings