3 ms·
It's also a command line tool, and a library of useful patterns. curl -sL news.ycombinator.com | rosie grep -o subs net.url How many LOC is your ad-hoc "F
by ken 7y ago
It's also a command line tool, and a library of useful patterns.
curl -sL news.ycombinator.com | rosie grep -o subs net.url
How many LOC is your ad-hoc "FSM-like program", and have you done correctness and performance testing on it? If I had a nickel for every incorrect email validity checker I ran across, I'd have an awful lot of nickels.
- paulddraper 7y ago> If I had a nickel for every incorrect email validity checker I ran across, I'd have an awful lot of nickels. I won't argue with that. Email is a clusterf---. To make a validator to be truly "correct" is essentially impossible. Three RFCs have successively created standardized regexes and the latest RFC 5322 still has a bug. [1] You'd have to convince me that you'd be significantly fewer nickles had they used Rosie. > library of useful patterns That's cool. I certainly use a library if I need to validate emails. [1] https://stackoverflow.com/a/201378 https://stackoverflow.com/a/201378