Re: Regex in Java
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Thu, 27 Oct 2005 00:06:17 GMT
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.
.
- References:
- Regex in Java
- From: Huub
- Regex in Java
- Prev by Date: Re: LayoutManager2.layoutContainer: "wrong height"?
- Next by Date: Re: using SkinLF to change application LF
- Previous by thread: Regex in Java
- Next by thread: Problem with JMenu using JMF component
- Index(es):
Relevant Pages
|