Playground: https://play.golang.org/p/opVpDD5Ts8S
Here's an example regex that fails to compile: `[a-zA-Z0-9]{1001,}`
Here's where the 1000 is specified:
https://github.com/golang/go/blob/4d9ecde/src/regexp/syntax/parse.go#L250
Other languages regex engine behavior: The regex is valid on all languages
in https://regex101.com/r/JzGrYG/1 except Go.
Is there a reason for this limit or is this a bug?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/f22fb807-7611-4185-bc2b-e7a8f5d8856an%40googlegroups.com.