Re: Regex in Java



On Wed, 26 Oct 2005 15:25:54 +0200, Huub <"v.niekerk at hccnet.nl">
wrote, quoted or indirectly quoted someone who said :

>1 can regular expressions be made in Java or does that work together
>with e.g. Perl like JPL?

The Java regex design was based on Perl. They are similar, but there
is no Perl code involved.

>2 can these reg.exp. be used to look for filename on disk?

Not directly, but you can analyse filenames one at a time with a
regex. See my RegexFileFilter that does that.

See http://mindprod.com/products1.html#FILTER

http://mindprod.com/jgloss/regex.html
http://mindprod.com/jgloss/filter.html

--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages

  • Re: Is perl better? :(((
    ... >> Wasthe original PERL script hitting an Oracle database? ... >> Did you run an explain plan on your Oracle SQL? ... Java and perl on another. ...
    (comp.lang.java.databases)
  • Re: Is perl better? :(((
    ... >> Wasthe original PERL script hitting an Oracle database? ... >> Did you run an explain plan on your Oracle SQL? ... Java and perl on another. ...
    (comp.lang.java.programmer)
  • Re: Is perl better? :(((
    ... Oracle on one box, Java and perl on another. ... See previous answer about SQL. ...
    (comp.lang.java.databases)
  • Re: Is perl better? :(((
    ... Oracle on one box, Java and perl on another. ... See previous answer about SQL. ...
    (comp.lang.java.programmer)
  • Re: Is perl better? :(((
    ... >> Oracle on one box, Java and perl on another. ... See previous answer about SQL. ...
    (comp.lang.java.databases)