fixed borked regex from cc86be04b3531ea4b770355c4197933027390d41, thanks Markus Lervik, refs #1321