JFarr has asked for the wisdom of the Perl Monks concerning the following question:
But this keeps failing. Can someone smarter than I help with the reg exp match? Thanks$mystring = "Rescue21_binaries_V5.0.29.0_patch_R5.0.24.1_DiffList.txt" +; if( $mystring =~ m/Rescue21\w_patch_\wDiffList.txt/ ) { }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pattern match
by davido (Cardinal) on Jan 17, 2006 at 21:15 UTC | |
|
Re: Pattern match
by chromatic (Archbishop) on Jan 17, 2006 at 21:16 UTC | |
|
Re: Pattern match
by esskar (Deacon) on Jan 17, 2006 at 21:14 UTC | |
|
Re: Pattern match
by SamCG (Hermit) on Jan 17, 2006 at 21:46 UTC | |
|
Re: Pattern match
by ercparker (Hermit) on Jan 18, 2006 at 00:33 UTC |