[Python-checkins] CVS: python/dist/src/Lib/test/output test_sre,1.1,1.2

Fredrik Lundh python-dev@python.org
Fri, 30 Jun 2000 02:13:08 -0700


Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory slayer.i.sourceforge.net:/tmp/cvs-serv5441/Lib/test/output

Modified Files:
	test_sre 
Log Message:

- added support for (?P=name)
  (closes #3 and #7 from the status report)


Index: test_sre
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_sre,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** test_sre	2000/06/30 07:08:20	1.1
--- test_sre	2000/06/30 09:13:06	1.2
***************
*** 2,10 ****
  test_support -- test failed re module pickle
  test_support -- test failed re module cPickle
- === Syntax error: ('(?P<foo_123>a)(?P=foo_123)', 'aa', 0, 'g1', 'a')
  === Failed incorrectly ('^(.+)?B', 'AB', 0, 'g1', 'A')
  === Failed incorrectly ('(a+)+\\1', 'aa', 0, 'found+"-"+g1', 'aa-a')
  === grouping error ('([^/]*/)*sub1/', 'd:msgs/tdir/sub1/trial/away.cpp', 0, 'found+"-"+g1', 'd:msgs/tdir/sub1/-tdir/') 'd:msgs/tdir/sub1/-trial/' should be 'd:msgs/tdir/sub1/-tdir/'
- === Syntax error: ('(?P<id>aa)(?P=id)', 'aaaa', 0, 'found+"-"+id', 'aaaa-aa')
  === grouping error ('([abc])*bcd', 'abcd', 0, 'found+"-"+g1', 'abcd-a') 'abcd-c' should be 'abcd-a'
  === grouping error ('(?i)([abc])*bcd', 'ABCD', 0, 'found+"-"+g1', 'ABCD-A') 'ABCD-C' should be 'ABCD-A'
--- 2,8 ----