Re: Q: Perl & LWP - HTML Processing with Regular Expressions

From: James Willmore (jwillmore_at_remove.adelphia.net)
Date: 11/09/03


Date: Sun, 09 Nov 2003 15:58:33 GMT

On Sun, 09 Nov 2003 15:05:46 GMT
"Voitec" <voitec@zzzzzzzzz.com> wrote:
<snip>
> My problem is that $1 stays the same throughout as $650,682 for
> Postcode 2040 & it stays as $1,040,070 for Postcode 2041.
>
> I'm sure I'm doing something surprisingly silly. Any help would be
> appreciated.

'perldoc perlre' - pay close attention to the examples in the
document.

*Everything* you're matching is '$1' - which is not what I think you
want to do.

HTH

-- 
Jim
Copyright notice: all code written by the author in this post is
 released under the GPL. http://www.gnu.org/licenses/gpl.txt 
for more information.
a fortune quote ...
"She is descended from a long line that her mother listened to." 
-- Gypsy Rose Lee 


Relevant Pages

  • Re: JC Martin rocks!
    ... > Hey Carrie. ... Pay to much attention to ... attention to what other people think of you, and you will likely end up not ...
    (rec.music.gdead)
  • Re: Usenet software [WAS: Fall Of The High King]
    ... > I'm afraid you're very much mistaken if you think Ggl ... > pay a moment's attention to comments from users. ...
    (alt.usage.english)
  • Re: Another Dominating Year For Ferrari
    ... You should pay more attention:) ... Only in your dreams, Frank:) ...
    (rec.autos.sport.f1)
  • Re: Tweedys Turkana Boy
    ... ounce of dignity would just completely ignore you forever. ... So, of course, you would never pay any attention to a person capable of ...
    (talk.origins)
  • Re: OT
    ... I wonder if a 'News From Yesterday' ... tv channel could get much attention from the 'We Want News ... pay attention to the 'What's Going On' show. ... "Mrs." cf pg 130 (in the Corgi paperback edition, ...
    (talk.religion.buddhism)