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

Page principale
Supprimer ce message
Auteur: Alan Lehotsky
Date:  
À: pcre-dev
Sujet: [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 #7 from Alan Lehotsky <alehotsky@???> 2009-09-26 21:11:14 ---
I agree completely it's not a great feature. As for modern software
supporting it, the software my company sells was using the UCB regex
library until 2008, when we upgraded to use PCRE in order to have a
UTF8-aware regular expression engine.

If you tell me a patch to support [[:<:]] isn't likely to be accepted,
I'll happily abandon any effort to fix it. We never documented this
extension, it was just latent in the source code we used, so I don't think
we have ANY customers who depend on the feature. The only reason I
even know about it is that a customer tried it; was surprised it worked in
the old release (since it was undocumented) and submitted a PR
asking if it was okay to use.

OTOH, if despite its hackiness, if there is a sense of a value to having a
shorthand notation for the word-contextual equivalent to ^ and $, then I'd
be
happy to write and contribute the necessary code.





Philip Hazel <ph10@???>
Sent by: admin@???
09/26/2009 03:33 PM
Please respond to
891@???


To
alehotsky@???
cc

Subject
[Bug 891] Support [[:<:]] and [[:>:]] patterns






------- You are receiving this mail because: -------
You reported the bug.

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




--- Comment #6 from Philip Hazel <ph10@???> 2009-09-26
20:33:31 ---
...oh, and note that the date for the web page you quote is 25 Oct 1995. I
think that's a bit old. Does any modern software support these things?


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