Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^6: HTML::Parser / Regex

by MissPerl (Sexton)
on May 27, 2017 at 22:27 UTC ( [id://1191390]=note: print w/replies, xml ) Need Help??


in reply to Re^5: HTML::Parser / Regex
in thread HTML::Parser / Regex

Hi shmem, thanks for the steps. I am going to google it for a little bit as I am not too familiar with linux environment yet.

At the mean time, is there any other method that I can achieve my goal? like storing the found or empty value into variables ?

Replies are listed 'Best First'.
Re^7: HTML::Parser / Regex
by AnomalousMonk (Archbishop) on May 28, 2017 at 06:36 UTC
    ... any other method ... storing the found or empty value into variables ?

    Did you take a look at the code here? (Update: Also here.) And if you need a quick-and-dirty replacement for  $RE{num}{real} from Regexp::Common if you have difficulty installing it, try
        my $rx_amount = qr{ (?> [-+]? (?: \d+ (?: [.] \d*)? | [.] \d+)) }xms;
    It's semi-tested and should be enough to move forward with.


    Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1191390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found