41 |
pgrep.1 man page for pgrep |
pgrep.1 man page for pgrep |
42 |
pgrep.c source of a grep utility that uses PCRE |
pgrep.c source of a grep utility that uses PCRE |
43 |
perltest Perl test program |
perltest Perl test program |
44 |
testinput test data, compatible with Perl 5.004 and 5.005 |
testinput1 test data, compatible with Perl 5.004 and 5.005 |
45 |
testinput2 test data for error messages and non-Perl things |
testinput2 test data for error messages and non-Perl things |
46 |
testinput3 test data, compatible with Perl 5.005 |
testinput3 test data, compatible with Perl 5.005 |
47 |
testinput4 test data for locale-specific tests |
testinput4 test data for locale-specific tests |
48 |
testoutput test results corresponding to testinput |
testoutput1 test results corresponding to testinput |
49 |
testoutput2 test results corresponding to testinput2 |
testoutput2 test results corresponding to testinput2 |
50 |
testoutput3 test results corresponding to testinput3 |
testoutput3 test results corresponding to testinput3 |
51 |
testoutput4 test results corresponding to testinput4 |
testoutput4 test results corresponding to testinput4 |
216 |
The /S option causes pcre_study() to be called after the expression has been |
The /S option causes pcre_study() to be called after the expression has been |
217 |
compiled, and the results used when the expression is matched. |
compiled, and the results used when the expression is matched. |
218 |
|
|
219 |
|
The /M option causes information about the size of memory block used to hold |
220 |
|
the compile pattern to be output. |
221 |
|
|
222 |
Finally, the /P option causes pcretest to call PCRE via the POSIX wrapper API |
Finally, the /P option causes pcretest to call PCRE via the POSIX wrapper API |
223 |
rather than its native API. When this is done, all other options except /i and |
rather than its native API. When this is done, all other options except /i and |
224 |
/m are ignored. REG_ICASE is set if /i is present, and REG_NEWLINE is set if /m |
/m are ignored. REG_ICASE is set if /i is present, and REG_NEWLINE is set if /m |
294 |
regular expression: information about the compiled pattern is given after |
regular expression: information about the compiled pattern is given after |
295 |
compilation. |
compilation. |
296 |
|
|
297 |
If the option -s is given to pcretest, it outputs the size of each compiled |
If the option -m is given to pcretest, it outputs the size of each compiled |
298 |
pattern after it has been compiled. |
pattern after it has been compiled. It is equivalent to adding /M to each |
299 |
|
regular expression. For compatibility with earlier versions of pcretest, -s is |
300 |
|
a synonym for -m. |
301 |
|
|
302 |
If the -t option is given, each compile, study, and match is run 20000 times |
If the -t option is given, each compile, study, and match is run 20000 times |
303 |
while being timed, and the resulting time per compile or match is output in |
while being timed, and the resulting time per compile or match is output in |
314 |
The perltest program tests Perl's regular expressions; it has the same |
The perltest program tests Perl's regular expressions; it has the same |
315 |
specification as pcretest, and so can be given identical input, except that |
specification as pcretest, and so can be given identical input, except that |
316 |
input patterns can be followed only by Perl's lower case options. The contents |
input patterns can be followed only by Perl's lower case options. The contents |
317 |
of testinput and testinput3 meet this condition. |
of testinput1 and testinput3 meet this condition. |
318 |
|
|
319 |
The data lines are processed as Perl strings, so if they contain $ or @ |
The data lines are processed as Perl strings, so if they contain $ or @ |
320 |
characters, these have to be escaped. For this reason, all such characters in |
characters, these have to be escaped. For this reason, all such characters in |
330 |
them correctly. |
them correctly. |
331 |
|
|
332 |
Philip Hazel <ph10@cam.ac.uk> |
Philip Hazel <ph10@cam.ac.uk> |
333 |
February 1999 |
April 1999 |