Meaningless Drivel is fun!
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 Java Interview Guide this week in the Jobs Discussion 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!