This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Languages » Perl
Bookmark "Regular expression help" Watch "Regular expression help" New topic
Author

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.
 
jQuery in Action, 2nd edition
 
subject: Regular expression help