463 |
data> xyz |
data> xyz |
464 |
No match |
No match |
465 |
.sp |
.sp |
466 |
Note that unset capturing substrings that are not followed by one that is set |
Note that unset capturing substrings that are not followed by one that is set |
467 |
are not returned by \fBpcre_exec()\fP, and are not shown by \fBpcretest\fP. In |
are not returned by \fBpcre_exec()\fP, and are not shown by \fBpcretest\fP. In |
468 |
the following example, there are two capturing substrings, but when the first |
the following example, there are two capturing substrings, but when the first |
469 |
data line is matched, the second, unset substring is not shown. An "internal" |
data line is matched, the second, unset substring is not shown. An "internal" |
470 |
unset substring is shown as "<unset>", as for the second data line. |
unset substring is shown as "<unset>", as for the second data line. |
471 |
.sp |
.sp |
472 |
re> /(a)|(b)/ |
re> /(a)|(b)/ |
476 |
data> b |
data> b |
477 |
0: b |
0: b |
478 |
1: <unset> |
1: <unset> |
479 |
2: b |
2: b |
480 |
.sp |
.sp |
481 |
If the strings contain any non-printing characters, they are output as \e0x |
If the strings contain any non-printing characters, they are output as \e0x |
482 |
escapes, or as \ex{...} escapes if the \fB/8\fP modifier was present on the |
escapes, or as \ex{...} escapes if the \fB/8\fP modifier was present on the |