createPattern
createPattern function, returns loose or exact pattern from a string
BREAKING CHANGE: createPattern replaces the createLoosePattern function
createPattern function, returns loose or exact pattern from a string
BREAKING CHANGE: createPattern replaces the createLoosePattern function