fixes #9: no longer require regexps to be anchored
auto-anchor regexen given to Parsimmon.regex
regex() uses lastIndex to get flags when rewriting

For robustness, in case the lengths of .source and .toString() aren't
the same, for example things like \q aren't technically allowed in
regexes and the \ might be ignored or turned into \\.
https://github.com/jayferd/parsimmon/pull/10#issuecomment-31990031
Merge pull request #10 from michaelficarra/GH-9

fixes #9: no longer require regexps to be anchored