public static StrMatcher stringMatcher ( final String str ) { if ( StringUtils . isEmpty ( str ) ) { return NONE_MATCHER ; } return new StringMatcher ( str ) ; }
Constructor that creates a matcher from a string .