angie ahl wrote:
On 4/19/05, angie ahl wrote:
The following regex is failing strangely:
my @tables = $content =~ m#\[table\](.*?)\[/table\]#g;
foreach (@tables) {
my $table = $_;
if ($content =~ m#$table#) {print "yes old table is there!\n";}
}
@t
Thanks
I know that there are metachars in the result. non printing chars that
I need to leave there until a later part of the processing.
I don't get why this would affect the result though.
Cheers
Angie
> On 4/19/05, angie ahl wrote:
> > The following regex is failing strangely:
> >
> >
On 4/19/05, angie ahl wrote:
> The following regex is failing strangely:
>
> my @tables = $content =~ m#\[table\](.*?)\[/table\]#g;
> foreach (@tables) {
> my $table = $_;
> if ($content =~ m#$table#) {print "yes old table is
> there!\n";}
>
angie ahl wrote:
> The following regex is failing strangely:
>
> my @tables = $content =~ m#\[table\](.*?)\[/table\]#g;
> foreach (@tables) {
> my $table = $_;
> if ($content =~ m#$table#) {print "yes old table is there!\n";}
> }
>
> @tables contains