refactor1 : add regex strategy with units tests
refactor2 : add regexMatcher with units tests and deprecate the old implementation