]> Cypherpunks repositories - gostls13.git/commit
exp/regexp/syntax: incremental concat, alternate
authorRuss Cox <rsc@golang.org>
Wed, 29 Jun 2011 04:55:37 +0000 (00:55 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 29 Jun 2011 04:55:37 +0000 (00:55 -0400)
commit7e1a3e9f209d33eff36eb6876e0505a300be9ba6
tree311c012b97aa2122afe4cbca4ff3f3f660496a1d
parent3379414b210d1c03c27b4b340c3a12da430ec2e9
exp/regexp/syntax: incremental concat, alternate
Also reuse of *Regexp nodes.

I believe this is the end of the parser.
The only non-execution code that remains is
the code to expand x{3,5} into simpler operations.

R=sam.thorogood, r
CC=golang-dev
https://golang.org/cl/4629078
src/pkg/exp/regexp/syntax/parse.go
src/pkg/exp/regexp/syntax/parse_test.go
src/pkg/exp/regexp/syntax/regexp.go