[pcre-dev] [Bug 891] Support [[:<:]] and [[:>:]] patterns

Kezdőlap
Üzenet törlése
Szerző: Philip Hazel
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 891] Support [[:<:]] and [[:>:]] patterns
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=891




--- Comment #5 from Philip Hazel <ph10@???> 2009-09-26 20:31:06 ---
I think the possible "Perl extension" to provide this feature would be more
likely to use (*>) and (*<) by comparison with (*FAIL) etc, or possible (+>)
and (+<) rather than [[:>:]] and [[:<:]] because the latter are a dreadful
subversion of character classes. This thing is *not* a character class; it's an
assertion.
I suppose it would have been nice to use (?<) and (?>) but they are already in
use...hmm, but only sensibly if something other than ) follows < or >, so I
suppose they could be used, though (?>) is valid (but useless) in Perl.

I'm still hesitating as to whether to propagate this monstrosity further.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email