golang/src/regexp/testdata
Jes Cok 5d481abc87 all: fix typos
Change-Id: I510b0a4bf3472d937393800dd57472c30beef329
GitHub-Last-Rev: 8d289b73a37bd86080936423d981d21e152aaa33
GitHub-Pull-Request: golang/go#60960
Reviewed-on: https://go-review.googlesource.com/c/go/+/505398
Auto-Submit: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2023-07-18 19:55:29 +00:00
..
README
basic.dat
nullsubexpr.dat all: fix typos 2023-07-18 19:55:29 +00:00
re2-exhaustive.txt.bz2
re2-search.txt
repetition.dat
testregex.c

README

AT&T POSIX Test Files
See textregex.c for copyright + license.

testregex.c	http://www2.research.att.com/~gsf/testregex/testregex.c
basic.dat	http://www2.research.att.com/~gsf/testregex/basic.dat
nullsubexpr.dat	http://www2.research.att.com/~gsf/testregex/nullsubexpr.dat
repetition.dat	http://www2.research.att.com/~gsf/testregex/repetition.dat

The test data has been edited to reflect RE2/Go differences:
  * In a star of a possibly empty match like (a*)* matching x,
    the no match case runs the starred subexpression zero times,
    not once.  This is consistent with (a*)* matching a, which
    runs the starred subexpression one time, not twice.
  * The submatch choice is first match, not the POSIX rule.

Such changes are marked with 'RE2/Go'.


RE2 Test Files

re2-exhaustive.txt.bz2 and re2-search.txt are built by running
'make log' in the RE2 distribution https://github.com/google/re2/

The exhaustive file is compressed because it is huge.