in reply to Disabling regexp optimizations?
If that is the correct understanding, why would you want to do it that way, as opposed to this way:
That is, since this expression should execute in any case, just go ahead and do it outside the regex, then evaluate the (simpler) regex.your_executable_expression; /XXX/
If I have the wrong understanding, could someone explain what you get from /(?{...}).../ (without the optimization, as requested here) that you wouldn't get from running that statement outside the regex? (I just don't know.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Disabling regexp optimizations?
by diotalevi (Canon) on Oct 15, 2005 at 18:52 UTC | |
by bart (Canon) on Oct 16, 2005 at 00:31 UTC | |
by diotalevi (Canon) on Oct 17, 2005 at 02:26 UTC |