| 351 |
.SH "BACKTRACKING CONTROL" |
.SH "BACKTRACKING CONTROL" |
| 352 |
.rs |
.rs |
| 353 |
.sp |
.sp |
| 354 |
The following act immediately they are reached: |
The following act immediately they are reached: |
| 355 |
.sp |
.sp |
| 356 |
(*ACCEPT) force successful match |
(*ACCEPT) force successful match |
| 357 |
(*FAIL) force backtrack; synonym (*F) |
(*FAIL) force backtrack; synonym (*F) |
| 358 |
.sp |
.sp |
| 359 |
The following act only when a subsequent match failure causes a backtrack to |
The following act only when a subsequent match failure causes a backtrack to |
| 360 |
reach them. They all force a match failure, but they differ in what happens |
reach them. They all force a match failure, but they differ in what happens |
| 361 |
afterwards. Those that advance the start-of-match point do so only if the |
afterwards. Those that advance the start-of-match point do so only if the |
| 362 |
pattern is not anchored. |
pattern is not anchored. |
| 363 |
.sp |
.sp |
| 364 |
(*COMMIT) overall failure, no advance of starting point |
(*COMMIT) overall failure, no advance of starting point |