• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

READMED25-Apr-2025957 2517

basic.datD25-Apr-20258.4 KiB218216

nullsubexpr.datD25-Apr-20251.8 KiB7465

re2-exhaustive.txt.bz2D25-Apr-2025418.2 KiB5,826,4055,826,404

re2-search.txtD25-Apr-202542.4 KiB3,7803,779

repetition.datD25-Apr-20256.6 KiB164133

testregex.cD25-Apr-202551.3 KiB2,2872,153

README

1AT&T POSIX Test Files
2See textregex.c for copyright + license.
3
4testregex.c	http://www2.research.att.com/~gsf/testregex/testregex.c
5basic.dat	http://www2.research.att.com/~gsf/testregex/basic.dat
6nullsubexpr.dat	http://www2.research.att.com/~gsf/testregex/nullsubexpr.dat
7repetition.dat	http://www2.research.att.com/~gsf/testregex/repetition.dat
8
9The test data has been edited to reflect RE2/Go differences:
10  * In a star of a possibly empty match like (a*)* matching x,
11    the no match case runs the starred subexpression zero times,
12    not once.  This is consistent with (a*)* matching a, which
13    runs the starred subexpression one time, not twice.
14  * The submatch choice is first match, not the POSIX rule.
15
16Such changes are marked with 'RE2/Go'.
17
18
19RE2 Test Files
20
21re2-exhaustive.txt.bz2 and re2-search.txt are built by running
22'make log' in the RE2 distribution https://github.com/google/re2/
23
24The exhaustive file is compressed because it is huge.
25