Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
It is not matching. Please correct the Reg exp if wrong.\windows\server\locales\en_US\help\whxdata\whftdata0.xml \windows\server\locales\en_US\help\whxdata\ \windows\server\locales\en_US\help\whxdata\whfwdata0.xml \windows\server\locales\en_US\help\whxdata\whfwdata1.xml \windows\server\locales\en_US\help\whxdata\whfwdata2.xml \windows\server\locales\en_US\help\whxdata2\ <\code> Here i have to find and list only the directory . In this case line 2& +6. i am using <code> if $line =~ /(.*)\\$/{ ....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reg Exp help
by toolic (Bishop) on Jun 04, 2008 at 18:36 UTC | |
|
Re: Reg Exp help
by sadfaceman (Novice) on Jun 04, 2008 at 18:51 UTC | |
|
Re: Reg Exp help
by hilitai (Monk) on Jun 04, 2008 at 19:00 UTC | |
|
Re: Reg Exp help
by Anonymous Monk on Jun 04, 2008 at 18:43 UTC | |
by Anonymous Monk on Jun 04, 2008 at 18:53 UTC | |
|
Re: Reg Exp help
by poolpi (Hermit) on Jun 05, 2008 at 14:16 UTC |