Rename RegexPattern to pattern and rename the method to the patter
getPattern instead of getRegexPattern