in reply to Re: Perl file name parsing - Regular expression
in thread Perl file name parsing - Regular expression
Can i extend s/ ^ ([\w_-]+) \. ([\w:]+) CSS \. /$1.$2./x; subsitution of CSS to [A-Z]. ?for (@files) { if (/ ^ [\w_-]+ \. [\w:]+ \. [\w_-]+ \. ErrorLog $ /x) { s/ ^ ([\w_-]+) \. ([\w:]+) CSS \. /$1.$2./x; say; } }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Perl file name parsing - Regular expression
by Laurent_R (Canon) on May 30, 2017 at 08:20 UTC |