by shakna · 4y ago · 0 comments
[0] https://github.com/tzinfo/tzinfo/commit/01bcca5de920093b52fb...
So if you write a regexp like /^[0-9]$/, a string "Any characters\n12345\nAny characters" will match the regexp.
because Ruby has \A and \Z to match the boundaries of a string