in reply to Re^6: Replace zero-width grouping? (optimizing perl code)
in thread Replace zero-width grouping?
History has it that Mr Wilde's response was, "You will Harvey, you will.". So, in this case, I guess I should simply say. "I will" :)
In C assert(true); could still be classed as an "assertion". The fact that the assertion is always true doesn't change that. perlre says
This zero-width assertion evaluate any embedded Perl code. It always s +ucceeds,
so 'code block assertion' as a phrase to describe (?{ ... }) makes a certain amount of sense, to me at least.
And the (??{ ... }) is described as a "postponed regular subexpression".
Both are a bit wordy, but it would be nice to have terms for them, rather than needing to constantly use the notation? Maybe CBA and PP-RE?? Just a thought.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Replace zero-width grouping?
by hv (Prior) on May 09, 2003 at 18:14 UTC | |
by BrowserUk (Patriarch) on May 09, 2003 at 18:23 UTC |