init the regexPatternCache if it doesn't exist
Merge pull request #30 from frane/master

init the regexPatternCache if it doesn't exist