|
|
|
|
|
by nknighthb
4778 days ago
|
|
I would be reluctant to rely on this until the Go documentation is clearer on the intended behavior. Right now it's very poorly specified. The regex doc[1] talks about "same general syntax" as Perl, but points to [2], which doesn't seem to understand what it's saying, describing '\d' in terms of its "Perl" meaning, but then saying that it's [0-9]. [1] http://golang.org/pkg/regexp/ [2] https://code.google.com/p/re2/wiki/Syntax |
|