Home | History | Annotate | Download | only in regexp

Lines Matching refs:pattern

419 		//     q	REG_DELIMITED		delimited pattern
489 // Field 2: the regular expression pattern; SAME uses the pattern from
512 pattern := field[1]
521 pattern = QuoteMeta(pattern)
531 re, err := compile(pattern, syn, true)
534 t.Errorf("%s:%d: %#q did not compile", file, lineno, pattern)
539 t.Errorf("%s:%d: %#q should not compile", file, lineno, pattern)
544 t.Errorf("%s:%d: %#q.Match(%#q) = %v, want %v", file, lineno, pattern, text, match, shouldMatch)
549 t.Errorf("%s:%d: %#q.Match(%#q) = %v, but %#q.FindSubmatchIndex(%#q) = %v", file, lineno, pattern, text, match, pattern, text, have)
556 t.Errorf("%s:%d: %#q.FindSubmatchIndex(%#q) = %v, want %v", file, lineno, pattern, text, have, pos)