Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-08-17 07:42:53


Here's the fix that'll be going into cvs at some point:

RCS file:
/cvsroot/boost/boost/boost/regex/v4/perl_matcher_non_recursive.hpp,v
retrieving revision 1.31
diff -r1.31 perl_matcher_non_recursive.hpp
520,521c520,524
< // store position in case we fail:
< push_non_greedy_repeat(rep->next.p);

---
>          if((next_count->get_count() < rep->max) && take_first)
>          {
>             // store position in case we fail:
>             push_non_greedy_repeat(rep->next.p);
>          }
John. 

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