Fixed #313 -- added support for the /x flag on regexps