in reply to Re: Disabling regexp optimizations?
in thread Disabling regexp optimizations?
The code in (?{...}) might have a desired side effect. Usually you use (?{...}) blocks only for their side effects because they don't normally impact whether the expression matches. In my case, I've implemented named captures and would like to pre-clear the targets just in case my capture expressions never get evaluated because something earlier failed. That is, CLEAR->stuff->CAPTURE. If "stuff" failed, then I wouldn't have had the opportunity to ensure that CAPTURE properly cleared the selected target.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Disabling regexp optimizations?
by bart (Canon) on Oct 16, 2005 at 00:31 UTC | |
by diotalevi (Canon) on Oct 17, 2005 at 02:26 UTC |