regex: don't escape backslashes, fix digit flag
Merge pull request #24 from auscompgeek/master

regex: don't escape backslashes, fix digit flag