in reply to Re^3: Eugh, regex :(
in thread Eugh, regex :(
Oops, just saw that! Changed it, still getting errors :(
It seems to be from this line still, cos if I comment it out - the rest of the script works fine:
$post_message =~ s|\Q[img]\E([\?\%\:\/a-zA-Z0-9_\-\.]+)\Q[/img]\E|[img]$1[/img]|sig;
(the above is just a more basic version of what I'm trying, to see if I can try and track down whats going on)
Driving me nuts :(
Cheers
Andy
It seems to be from this line still, cos if I comment it out - the rest of the script works fine:
$post_message =~ s|\Q[img]\E([\?\%\:\/a-zA-Z0-9_\-\.]+)\Q[/img]\E|[img]$1[/img]|sig;
(the above is just a more basic version of what I'm trying, to see if I can try and track down whats going on)
Driving me nuts :(
Cheers
Andy
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Eugh, regex :(
by haoess (Curate) on Mar 25, 2009 at 09:58 UTC |
In Section
Seekers of Perl Wisdom