Boost logo

Boost Users :

Subject: Re: [Boost-users] [Regex] This pattern compiles fine for Perl and PCRE but not for Boost Regex
From: Eric Niebler (eric_at_[hidden])
Date: 2010-10-18 18:21:17


On 10/18/2010 10:23 AM, David Dawe wrote:
> Boost Regex fails to compile a regular expression such as "{abc}" with
> the error "Invalid content of repeat range". However, both Perl and PCRE accept
> the regular expression, treating the "{" as a literal character.

FYI, xpressive (the other regex engine in boost) compiles this pattern
just fine.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

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