Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13206: regex constructor throws regex_error for simple expression
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-10-12 21:26:05
#13206: regex constructor throws regex_error for simple expression
---------------------------------------+-------------------------------
Reporter: Asbjørn Pedersen <ahp@â¦> | Owner: John Maddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
Version: Boost 1.65.0 | Severity: Problem
Resolution: | Keywords: regex error_range
---------------------------------------+-------------------------------
Comment (by robic@â¦):
{{{
Error: Regex Construction ..
Invalid range end in character class
'[A-Z-<<<HERE>>>.]+'
}}}
In Perl, this compiles fine.\\
The dash here **''A-Z`-`.''** is ambiguous, it should be seen as a
literal,\\
not a range operator.\\
Not all engines track this, but it is simple to do.
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13206#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-10-12 21:32:58 UTC