First page Back Continue Last page Overview Graphics
Backtracking Control Verbs
(*SKIP:name)
- when backtracked into the engine will reject all matches up to the point where the cursor was when the (*SKIP) was entered.
- can be coupled with (*MARK:name) to skip the text up to the point where the (*MARK) was executed.
- Can be used with (*FAIL) to find all of the non overlapping matches in a string:
- 'aaabaaab'=~/a+b?(*SKIP)(?{print $&})(*FAIL)/