Merge regex bug fix.
Refs #8569.

svn path=; revision=84463