"You assume the benchmark is worth something.
First of all, Ruby and Python are using C implementations of the regexp search, so Go is being beat by C, not by Ruby.
Second, Go is using a different algorithm for regexp matching than the C implementations in those other languages. The algorithm Go uses guarantees to complete in time that is linear in the length of the input. The algorithm that Ruby/Python/etc are using can take time exponential in the length of the input, although on trivial cases it typically runs quite fast."[1]
[1] https://groups.google.com/d/msg/golang-nuts/6d1maef4jQ8/yg4N...