File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Perl and the fly likes Regular expression help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Perl
Bookmark "Regular expression help" Watch "Regular expression help" New topic

Regular expression help

Nickolas Case
Ranch Hand

Joined: Apr 26, 2008
Posts: 98
The following code returns all files from the directory. Why?

James Sabre
Ranch Hand

Joined: Sep 07, 2004
Posts: 781

Remove the quotes from round the regex.

Retired horse trader.
 Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
I agree. Here's the link:
subject: Regular expression help
jQuery in Action, 3rd edition