23 Feb
2007
23 Feb
'07
9:47 a.m.
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.