Hacker News new | ask | show | jobs
by NegativeLatency 1435 days ago
a better practice in ruby is to use the \A and \z anchors for beginning of string and end of string, ^ and $ are beginning and end of line in ruby as far as I know