Searched refs:regex (Results 1 - 25 of 109) sorted by relevance

12345

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dregmesg.t29 '/[[=foo=]]/' => 'POSIX syntax [= =] is reserved for future extensions in regex; marked by {#} in m/[[=foo=]{#}]/',
31 '/(?<= .*)/' => 'Variable length lookbehind not implemented in regex; marked by {#} in m/(?<= .*){#}/',
33 '/(?<= x{1000})/' => 'Lookbehind longer than 255 not implemented in regex; marked by {#} in m/(?<= x{1000}){#}/',
35 '/(?@)/' => 'Sequence (?@...) not implemented in regex; marked by {#} in m/(?@{#})/',
37 '/(?{ 1/' => 'Sequence (?{...}) not terminated or not {}-balanced in regex; marked by {#} in m/(?{{#} 1/',
39 '/(?(1x))/' => 'Switch condition not recognized in regex; marked by {#} in m/(?(1x{#}))/',
41 '/(?(1)x|y|z)/' => 'Switch (?(condition)... contains too many branches in regex; marked by {#} in m/(?(1)x|y|{#}z)/',
43 '/(?(x)y|x)/' => 'Unknown switch condition (?(x) in regex; marked by {#} in m/(?({#}x)y|x)/',
45 '/(?/' => 'Sequence (? incomplete in regex; marked by {#} in m/(?{#}/',
47 '/(?;x/' => 'Sequence (?;...) not recognized in regex; marke
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dregexp.c28 #include <regex.h>
92 regex_t regex; local
102 ret = regcomp (&regex, args[0], REG_EXTENDED);
106 matches = grub_zalloc (sizeof (*matches) * (regex.re_nsub + 1));
110 ret = regexec (&regex, args[1], regex.re_nsub + 1, matches, 0);
114 regex.re_nsub + 1, matches);
115 regfree (&regex);
122 s = regerror (ret, &regex, 0, 0);
126 regfree (&regex);
[all...]
H A Dwildcard.c28 #include <regex.h>
177 int regex = 0; local
190 regex = 1;
192 else if (ch == '/' && ! regex)
195 else if (ch == '/' && regex)
202 if (! regex)
/osnet-11/usr/src/lib/libast/common/comp/
H A Dlibgen.h46 extern char* regex(const char*, const char*, ...);
H A Dre_comp.c29 #include <regex.h>
H A Dfnmatch.c30 #include <regex.h>
36 int reg; /* regex flag */
H A Dregcmp.c29 #include <regex.h>
183 regex(const char* handle, const char* subject, ...) function
H A Dregexp.c31 #include <regex.h>
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/B/t/
H A Ddeparse.t57 my $regex = quotemeta($expected);
60 $regex =~ s/\s+/\s+/g;
63 my $ok = ($deparsed =~ /^\{\s*$regex\s*\}$/);
67 $regex =~ s/^/# /mg;
68 print "$regex\n";
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Simple/t/
H A Dis_deeply.t50 my($this, $regex, $name) = @_;
52 my $test = $$this =~ /$regex/;
63 print "# expected \n$regex";
/osnet-11/usr/src/lib/libeti/form/
H A DMakefile.com55 regex.o \
/osnet-11/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_log.h30 #include <regex.h>
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/re/
H A Dre.pm38 of a regex, the regex memories (or values returned by the m// operator
39 in list context) are tainted. This feature is useful when regex operations
43 When C<use re 'eval'> is in effect, a regex is allowed to contain
/osnet-11/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_util.h30 #include <regex.h>
/osnet-11/usr/src/lib/libast/
H A DMakefile.com245 common/regex/regalloc.o \
246 common/regex/regcache.o \
247 common/regex/regclass.o \
248 common/regex/regcoll.o \
249 common/regex/regcomp.o \
250 common/regex/regdecomp.o \
251 common/regex/regerror.o \
252 common/regex/regexec.o \
253 common/regex/regfatal.o \
254 common/regex/regini
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/
H A DBuilder.pm474 $Test->like($this, qr/$regex/, $name);
475 $Test->like($this, '/$regex/', $name);
477 Like Test::More's like(). Checks if $this matches the given $regex.
483 $Test->unlike($this, qr/$regex/, $name);
484 $Test->unlike($this, '/$regex/', $name);
487 given $regex.
492 my($self, $this, $regex, $name) = @_;
495 $self->_regex_ok($this, $regex, '=~', $name);
499 my($self, $this, $regex, $name) = @_;
502 $self->_regex_ok($this, $regex, '!~',
[all...]
/osnet-11/usr/src/lib/libnvpair/
H A Dlibnvpair.h31 #include <regex.h>
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dregex.c54 GNU regex allows. Include it before <regex.h>, which correctly
58 #include <regex.h>
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/
H A DSelect.pm97 I<head1-title-regex>/I<head2-title-regex>/...
159 expression (a regex), or else two Perl-style regular expressions
162 ("/"). If you need to use a forward slash literally within a regex you
171 /I<start-range-regex>/[../I<end-range-regex>/]
176 end-range-regex) is optional. Each "range-regex" is of the form:
182 the command. If a range-regex is supposed to match a POD command, then
183 the first character of the regex (th
[all...]
/osnet-11/usr/src/lib/libast/common/misc/
H A Dfindlib.h35 #include <regex.h>
/osnet-11/usr/src/lib/libast/common/string/
H A Dstrmatch.c30 * this interface is a wrapper on regex
59 #include <regex.h>
H A Dchresc.c38 #include <regex.h>
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/x2p/
H A Ds2p.PL742 my $regex = $del;
746 $regex .= $1.$sl.$del;
748 return $regex;
750 $regex .= $3;
819 my( $regex, $subst, $path, $global, $print, $nmatch, $fl ) = @_;
822 $regex =~ s/\n/\\n/g;
831 while( --\$n && ( \$s = m ${regex}g ) ){}
832 \$s = ( substr( \$_, pos() ) =~ s ${regex}${subst}s ) if \$s;
837 { \$s = s ${regex}${subst}s${global};
1245 my $regex
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DTest.pm74 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
[all...]
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DKernelStackRecord.java32 import java.util.regex.Pattern;

Completed in 78 milliseconds

12345