Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2011 16:52:19 +0000 (UTC)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r224229 - user/gabor/tre-integration/tools/test/regex/tests
Message-ID:  <201107201652.p6KGqJHe024584@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gabor
Date: Wed Jul 20 16:52:19 2011
New Revision: 224229
URL: http://svn.freebsd.org/changeset/base/224229

Log:
  - Add some ERE tests

Added:
  user/gabor/tre-integration/tools/test/regex/tests/ere.tests

Added: user/gabor/tre-integration/tools/test/regex/tests/ere.tests
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/gabor/tre-integration/tools/test/regex/tests/ere.tests	Wed Jul 20 16:52:19 2011	(r224229)
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+# FLAGS E
+
+# Matching multiple characters
+a+;zzazzaazz;((2,3),(5,7))
+(ab)+;zzzabzzzababzz;((3,5),(8,12))
+b+(bc);acabbbcde;((3,7))
+b*c;cabbbcde;((0,1),(2,6))
+b*cd;cabbbcdebbbbbbcdbc;((2,7),(8,16))
+[ab]*;zzaabbzzababzzabbzzaabzz;((0,0),(1,1),(2,6),(6,6),(7,7),(8,12),(12,12),(13,13),(14,17),(17,17),(18,18),(19,22),(22,22),(23,23),(24,24))
+a?b;zzbzzabzzaabzz;((2,3),(5,7),(10,12))
+(ab)?c;zzczzabczzbczzaczz;((2,3),(5,8),(11,12),(15,16))
+a{3};aaabbaabaaaa;((0,3),(8,11))
+a{1,3};abbaaabaaaab;((0,1),(3,6),(7,10),(10,11))
+a{2,};abbaabbaaab;((3,5),(7,10))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107201652.p6KGqJHe024584>