go/src/regexp
Russ Cox d4b2638234 all: go fmt std cmd (but revert vendor)
Make all our package sources use Go 1.17 gofmt format
(adding //go:build lines).

Part of //go:build change (#41184).
See https://golang.org/design/draft-gobuild

Change-Id: Ia0534360e4957e58cd9a18429c39d0e32a6addb4
Reviewed-on: https://go-review.googlesource.com/c/go/+/294430
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2021-02-20 03:54:50 +00:00
..
syntax regexp/syntax: add note about Unicode character classes 2020-11-25 15:10:09 +00:00
testdata regexp/syntax: fix factoring of common prefixes in alternations 2016-01-08 16:41:46 +00:00
all_test.go regexp: add (*Regexp).SubexpIndex 2020-04-10 09:38:07 +00:00
backtrack.go std: remove unused bits of code all over the place 2019-09-02 12:57:37 +00:00
example_test.go regexp: add (*Regexp).SubexpIndex 2020-04-10 09:38:07 +00:00
exec.go regexp: optimize for provably too short inputs 2019-05-15 15:28:22 +00:00
exec2_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
exec_test.go regexp: skip long-running benchmarks if -short is specified 2019-10-17 19:53:52 +00:00
find_test.go regexp: limit the capacity of slices of bytes returned by FindX 2019-02-26 23:51:17 +00:00
onepass.go regexp: split one-pass execution out of machine struct 2018-10-12 17:48:35 +00:00
onepass_test.go regexp: optimize for provably too short inputs 2019-05-15 15:28:22 +00:00
regexp.go regexp: add (*Regexp).SubexpIndex 2020-04-10 09:38:07 +00:00