[sr-dev] git:master: textopsx: added fnmatch(value, expr, flags) function

Juha Heinanen jh at tutpro.com
Tue Dec 20 12:15:35 CET 2011


Daniel-Constantin Mierla writes:

> +if(fnmatch("$rU", "123*"))

daniel,

would this be the same as starts_with("$rU", "123")?  if so, i suspect
that starts_with would be even faster.

if i write

if(fnmatch("$rU", "*123")) ...

would match require that $rU ends with 123?

-- juha



More information about the sr-dev mailing list