From owner-svn-src-user@FreeBSD.ORG Wed Jul 20 16:52:19 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9797106566C; Wed, 20 Jul 2011 16:52:19 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C9B3B8FC0A; Wed, 20 Jul 2011 16:52:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p6KGqJwd024586; Wed, 20 Jul 2011 16:52:19 GMT (envelope-from gabor@svn.freebsd.org) Received: (from gabor@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p6KGqJHe024584; Wed, 20 Jul 2011 16:52:19 GMT (envelope-from gabor@svn.freebsd.org) Message-Id: <201107201652.p6KGqJHe024584@svn.freebsd.org> From: Gabor Kovesdan Date: Wed, 20 Jul 2011 16:52:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r224229 - user/gabor/tre-integration/tools/test/regex/tests X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2011 16:52:19 -0000 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))