Update of /cvsroot/boost/boost/boost/xpressive/detail/dynamic
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20055/detail/dynamic
Modified Files:
parser_enum.hpp parser_traits.hpp
Log Message:
add support for (?R) for self-recursive dynamic regexes
Index: parser_enum.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/dynamic/parser_enum.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- parser_enum.hpp 6 Oct 2005 00:42:53 -0000 1.1
+++ parser_enum.hpp 4 Mar 2007 18:07:03 -0000 1.2
@@ -46,6 +46,7 @@
token_negative_lookbehind, // ?<!
token_independent_sub_expression, // ?>
token_comment, // ?#
+ token_recurse_self, // ?R
token_assert_begin_sequence, // \A
token_assert_end_sequence, // \Z
Index: parser_traits.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/dynamic/parser_traits.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- parser_traits.hpp 23 Oct 2006 00:02:53 -0000 1.4
+++ parser_traits.hpp 4 Mar 2007 18:07:03 -0000 1.5
@@ -226,6 +226,7 @@
case BOOST_XPR_CHAR_(char_type, '#'): ++begin; return
token_comment;
case BOOST_XPR_CHAR_(char_type, '='): ++begin; return
token_positive_lookahead;
case BOOST_XPR_CHAR_(char_type, '!'): ++begin; return
token_negative_lookahead;
+ case BOOST_XPR_CHAR_(char_type, 'R'): ++begin; return
token_recurse_self;
case BOOST_XPR_CHAR_(char_type, '<'):
this->eat_ws_(++begin, end);
detail::ensure(begin != end, error_paren, "incomplete
extension");
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs