in reply to trouble with regular expressions
my code s/(\;do.*)(\<\/iframe\>\'\)\;)/sss/; matches only first 4 symbols...
The regex inside your substitution matches the whole string, not "only first 4 symbols", whatever you mean by "symbol".
So, what do you want to do?
Update: The OP silently updated his node, so this reply might or might not be irrelevant now.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: trouble with regular expressions
by programmer.perl (Beadle) on Nov 06, 2012 at 14:51 UTC | |
by moritz (Cardinal) on Nov 06, 2012 at 15:00 UTC | |
by programmer.perl (Beadle) on Nov 06, 2012 at 14:54 UTC |
In Section
Seekers of Perl Wisdom