in reply to Re: Regex keeps looping on itself :/
in thread Regex keeps looping on itself :/
TIA Andymy $post_message = $DB->table('Post')->select( ['post_message'], { p +ost_id => $_[0] } )->fetchrow; print TESTOUT qq|testing the output of post_message - $post_message +\n\n |; $post_message =~ s{\[\[([^]]+)\]\]}{ # process($1) print TESTOUT qq|FOO: "$1"|; }esg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex keeps looping on itself :/
by ikegami (Patriarch) on Jun 17, 2009 at 15:53 UTC |