Update of /cvsroot/boost/boost/libs/xpressive/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20491
Modified Files:
regress.txt
Log Message:
add tests for (?R) for self-recursive dynamic regexes
Index: regress.txt
===================================================================
RCS file: /cvsroot/boost/boost/libs/xpressive/test/regress.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- regress.txt 27 Aug 2006 05:18:38 -0000 1.4
+++ regress.txt 4 Mar 2007 18:07:51 -0000 1.5
@@ -929,93 +929,94 @@
br1=Aa
[end]
-; test for possible infinite recursion[end]
+; test for possible infinite recursion
-;[test117]
-;str=ab
-;pat=(a|(?=b)(?R))+
-;flg=
-;br0=a
-;br1=
-;[end]
+[test117]
+str=ab
+pat=(a|(?=b)(?R))+
+flg=
+br0=a
+br1=
+[end]
-;[test118]
-;str=abba
-;pat=(?R)
-;flg=
-;br0=
-;[end]
+[test118]
+str=abba
+pat=(?R)
+flg=
+br0=
+[end]
-;[test119]
-;str=nothere(HE(hehe(a(b(c)))nothere
-;pat=\(((?>[^()]+)|(?R))*\)
-;flg=
-;br0=(a(b(c)))
-;br1=(b(c))
-;[end]
+[test119]
+str=nothere(HE(hehe(a(b(c)))nothere
+pat=\(((?>[^()]+)|(?R))*\)
+flg=
+br0=(a(b(c)))
+br1=(b(c))
+[end]
-;[test120]
-;str=1(abcd)(x(y)z)pqr
-;pat=\(((?>[^()]+)|(?R))*\)
-;flg=ga
-;br0=(abcd)
-;br1=abcd
-;br2=(x(y)z)
-;br3=z
-;[end]
+[test120]
+str=1(abcd)(x(y)z)pqr
+pat=\(((?>[^()]+)|(?R))*\)
+flg=ga
+br0=(abcd)
+br1=abcd
+br2=(x(y)z)
+br3=z
+[end]
-;[test121]
-;str=()
-;pat=\((?:(?>[^()]+)|(?R))?\)
-;flg=
-;br0=()
-;[end]
+[test121]
+str=()
+pat=\((?:(?>[^()]+)|(?R))?\)
+flg=
+br0=()
+[end]
-;[test122]
-;str=12(abcde(fsh)xyz(foo(bar))lmno)89
-;pat=\((?:(?>[^()]+)|(?R))?\)
-;flg=
-;br0=(fsh)
-;[end]
+[test122]
+str=12(abcde(fsh)xyz(foo(bar))lmno)89
+pat=\((?:(?>[^()]+)|(?R))?\)
+flg=
+br0=(fsh)
+[end]
-;[test123]
-;str=(ab(xy)cd)
-;pat=\((((?>[^()]+)|(?R))*)\)
-;flg=
-;br0=(ab(xy)cd)
-;br1=ab(xy)cd
-;br2=cd
-;[end]
+[test123]
+str=(ab(xy)cd)
+pat=\((((?>[^()]+)|(?R))*)\)
+flg=
+br0=(ab(xy)cd)
+br1=ab(xy)cd
+br2=cd
+[end]
-;[test124]
-;str=(ab(xy)cd)
-;pat=\((123)?(((?>[^()]+)|(?R))*)\)
-;flg=
-;br0=(ab(xy)cd)
-;br1=
-;br2=ab(xy)cd
-;br3=cd
-;[end]
+[test124]
+str=(ab(xy)cd)
+pat=\((123)?(((?>[^()]+)|(?R))*)\)
+flg=
+br0=(ab(xy)cd)
+br1=
+br2=ab(xy)cd
+br3=cd
+[end]
-;[test125]
-;str=(123ab(xy)cd)
-;pat=\((123)?(((?>[^()]+)|(?R))*)\)
-;flg=
-;br0=(123ab(xy)cd)
-;br1=123
-;br2=ab(xy)cd
-;br3=cd
-;[end]
+[test125]
+str=(123ab(xy)cd)
+pat=\((123)?(((?>[^()]+)|(?R))*)\)
+flg=
+br0=(123ab(xy)cd)
+br1=123
+br2=ab(xy)cd
+br3=cd
+[end]
-;[test126]
-;str=(abcd(xyz<p>qrs)123)
-;pat=\((((?>[^()<>]+)|((?>[^()]+))|(?R))*)\)
-;flg=
-;br0=(abcd(xyz<p>qrs)123)
-;br1=abcd(xyz<p>qrs)123
-;br2=123
+[test126]
+str=(abcd(xyz<p>qrs)123)
+pat=\((((?>[^()<>]+)|((?>[^()]+))|(?R))*)\)
+flg=
+br0=(abcd(xyz<p>qrs)123)
+br1=abcd(xyz<p>qrs)123
+br2=123
;br3=<p>qrs
-;[end]
+br3=
+[end]
[test127]
str=foobar
-------------------------------------------------------------------------
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