Home | History | Annotate | only in /prebuilts/go/linux-x86/src/regexp/testdata
Up to higher level directory
NameDateSize
basic.dat21-Aug-20188.5K
nullsubexpr.dat21-Aug-20182K
re2-exhaustive.txt.bz221-Aug-2018384.8K
re2-search.txt21-Aug-201841.3K
README21-Aug-2018957
repetition.dat21-Aug-20186.6K
testregex.c21-Aug-201851.3K

README

      1 AT&T POSIX Test Files
      2 See textregex.c for copyright + license.
      3 
      4 testregex.c	http://www2.research.att.com/~gsf/testregex/testregex.c
      5 basic.dat	http://www2.research.att.com/~gsf/testregex/basic.dat
      6 nullsubexpr.dat	http://www2.research.att.com/~gsf/testregex/nullsubexpr.dat
      7 repetition.dat	http://www2.research.att.com/~gsf/testregex/repetition.dat
      8 
      9 The 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 
     16 Such changes are marked with 'RE2/Go'.
     17 
     18 
     19 RE2 Test Files
     20 
     21 re2-exhaustive.txt.bz2 and re2-search.txt are built by running
     22 'make log' in the RE2 distribution https://github.com/google/re2/
     23 
     24 The exhaustive file is compressed because it is huge.
     25