[Boost-bugs] [Boost C++ Libraries] #11621: Regexp doesn't match "\\"

Subject: [Boost-bugs] [Boost C++ Libraries] #11621: Regexp doesn't match "\\"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-06 10:37:26


#11621: Regexp doesn't match "\\"
-------------------------------------+---------------------
 Reporter: dezelin@… | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+---------------------
 While in lexer, regexp:

 [\"]([^\"]|([\\]([\\][\"]|[']|[n]|[t]|[b]|[r]|[
 ])|[\\][0-9][0-9][0-9]|[\\][x]([0-9]|[A-F]∣[a-f])([0-9]|[A-F][a-f]))|[\\]([\n]|[\r\n])([
 ]|[\t])*)*[\"]

 doesn't match strings in expression

 let ticker_animation = [|
   "\\";
   "|";
   "/";
   "-";

 The first string "\\" seems to be matched with escaped second " instead as
 a string.

 To check, please visit http://www.regexr.com/.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11621>
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-02-16 18:50:19 UTC