[regex] Support for right-to-left parsing?
22 Feb
2007
22 Feb
'07
5:47 p.m.
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? Thanks, Geraint
23 Feb
23 Feb
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.
6470
Age (days ago)
6471
Last active (days ago)
1 comments
2 participants
participants (2)
-
Geraint Bundy
-
John Maddock