Searched refs:matcher (Results 1 – 2 of 2) sorted by relevance
81 System.out.println("str1 matches: " + WEB_URL.matcher(testStr1).matches()); in main()82 System.out.println("str2 matches: " + WEB_URL.matcher(testStr2).matches()); in main()83 System.out.println("str3 matches: " + WEB_URL.matcher(testStr3).matches()); in main()
43 typedef bool MatchFn(Matcher* matcher);50 static bool Mark(Matcher* matcher);53 static bool Required(Matcher* matcher);56 static bool Repeated(Matcher* matcher); // On match, returns to the mark.84 bool Matcher::Mark(Matcher* matcher) { in Mark() argument85 matcher->pos_ += 1u; // Advance to the next match function before marking. in Mark()86 matcher->mark_ = matcher->pos_; in Mark()91 bool Matcher::Required(Matcher* matcher) { in Required() argument92 if (!(matcher->*Fn)()) { in Required()95 matcher->pos_ += 1u; in Required()[all …]