Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: regex is hanging inside loop, neither going

by Corion (Patriarch)
on Dec 21, 2021 at 07:12 UTC ( [id://11139792]=note: print w/replies, xml ) Need Help??


in reply to regex is hanging inside loop, neither going

Please help us help you better and post the problematic script together with its data here.

Also, make sure that your script is as short as possible while still reproducing the error.

Your code as posted has 145 lines and lots of regular expressions. Which of the regular expressions is relevant to reproduce the problem and which can be left out?

Also, in general, consider not using regular expressions (even Perl "regular" expressions) for parsing HTML and instead consider using an HTML parser.

  • Comment on Re: regex is hanging inside loop, neither going

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-25 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found