Comment on Stop avoiding regular expressions damn itparentComments−coolsunglasses13yUsing Golang as an example of real world regex performance is borderline dishonest. Their regex engine is notoriously unoptimized and is not intended to be a strong point of the language.−Titanous13yIt's not "unoptimized", it has a different design[1] than other language implementations, resulting in different performance characteristics.[1] http://swtch.com/~rsc/regexp/regexp1.html−kbenson13yNot just a different design, a different set of features. For example, no backreferences.
Comments
Using Golang as an example of real world regex performance is borderline dishonest. Their regex engine is notoriously unoptimized and is not intended to be a strong point of the language.
It's not "unoptimized", it has a different design[1] than other language implementations, resulting in different performance characteristics.
[1] http://swtch.com/~rsc/regexp/regexp1.html
Not just a different design, a different set of features. For example, no backreferences.