Revert "Replace | with \| in RegExp"

This reverts commit cfacdceb24c6aa1cff925f8900bad9015eb8d7cf.