in reply to Re: Escaping Regex Expressions
in thread Escaping Regex Expressions
The print text line above is giving -while (my $token = $p->get_tag("font")) { my $text = $p->get_trimmed_text("/font"); print $text."\n\n"; if($text =~ /Page 1 of (\d+)/) { print "\n\nNumber of Pages: $areaCode$1\n\n"; }
Pageá1áofá3
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Escaping Regex Expressions
by tachyon (Chancellor) on Aug 21, 2004 at 15:09 UTC | |
|
Re^3: Escaping Regex Expressions
by Eimi Metamorphoumai (Deacon) on Aug 21, 2004 at 15:13 UTC |