Notes posted by citizen428
RSS feed
citizen428 -
May 17, 2012
0 thanks
Starts with capital letter alternative
Just adding an anchor to the regular expression seems simpler (and was faster in my benchmarks, not that that matters much):
'Abracadabra' =~ /^[A-Z]/