This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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
It's not a secret anymore!