Anne van Kesteren wrote:
* match("foo")[0] (when match() would return a list) * matchOne("foo") * matchFirst("foo")The shortest name should represent the most efficient method imho.
I don't know anyone who thinks efficiency is proportional to the length of the function name.
-- Lachlan Hunt http://lachy.id.au/
