Lines Matching refs:regex
74 ok 'segmentation fault', '/(?i)success/'; #regex match
300 If C<arg2> is either a regex object (i.e., C<qr/.../>) or a string
301 that I<looks like> a regex (e.g., C<'/foo/'>), then
351 my ($expected,$diag,$isregex,$regex);
363 $regex = $expected;
364 } elsif (($regex) = ($expected =~ m,^ / (.+) / $,sx) or
365 (undef, $regex) = ($expected =~ m,^ m([^\w\s]) (.+) \1 $,sx)) {
366 $ok = $result =~ /$regex/;
406 if (defined $regex) {
407 $expected = 'qr{'.$regex.'}';
627 will fail, since Test.pm considers the second argument to be a regex!