]> Cypherpunks repositories - gostls13.git/commit
exp/regexp/syntax: more escapes, character classes
authorRuss Cox <rsc@golang.org>
Tue, 14 Jun 2011 18:30:10 +0000 (14:30 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 14 Jun 2011 18:30:10 +0000 (14:30 -0400)
commit1a4681ed745bd31613ef2ef4f33006212047b6ef
tree20b4536705f4bb5d19c91fcc40f3862c8f50fde7
parent340251e43d980be7166c9d08bde22bda1cfa05d5
exp/regexp/syntax: more escapes, character classes

Still TODO: parsing optimizations

make_perl_groups.pl is copied with minimal modifications
(just to generate Go syntax instead of C++) from RE2.
Google Inc is "The RE2 Author" of that file and is one of
the Go Authors, so copyright changed to the Go Authors instead.

R=sam.thorogood, r, fvbommel, robert.hencke
CC=golang-dev
https://golang.org/cl/4612041
src/pkg/exp/regexp/syntax/Makefile
src/pkg/exp/regexp/syntax/make_perl_groups.pl [new file with mode: 0755]
src/pkg/exp/regexp/syntax/parse.go
src/pkg/exp/regexp/syntax/parse_test.go
src/pkg/exp/regexp/syntax/perl_groups.go [new file with mode: 0644]