commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel F. Savarese" <>
Subject Re: [lang] Wildcard regex
Date Sat, 09 Oct 2010 04:24:07 GMT

In message <>, Step
hen Colebourne writes:
>I don't think comons lang has a routine for converting a standard
>wildcard string (with * and ?) to a regex.
>Here is a first suggestion, although I'm sure it can be improved.

Save yourself the wheel reinvention and adapt the GlobCompiler.globToPerl5
function from the now attic'ed ORO:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message