|
Boost Users : |
From: John Maddock (john_at_[hidden])
Date: 2007-02-23 04:47:26
Geraint Bundy wrote:
> Hello,
>
> Does Boost::Regex support "backwards" or right-to-left parsing (like
> .NET's regex)?
>
> If not, then is it possible to emulate this behaviour using normal
> parsing?
No, I'm not really familiar with how .NET does this, every time I thought
about adding right to left regexes, there were so many ambiguities over
their behaviour that I gave up - the problem is that the Perl regex syntax
is very closely tied to left-to-right parsing IMO. You can use look-behind
assertions of course, but that's probably not what you want?
John.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net