Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^6: substituting 1 escaped character for another

by Veltro (Hermit)
on Jul 26, 2018 at 23:25 UTC ( [id://1219346]=note: print w/replies, xml ) Need Help??


in reply to Re^5: substituting 1 escaped character for another
in thread substituting 1 escaped character for another

Don't assume that HTML cannot have weird characters

I was scanning a web page one time and this is how one of the lines of my code ended up to be:

if ( $tmpTxt =~ /\<option value=\"$c2\.php\?blue\=(.+?)\"/ ) { # rem +oved the \> because for some there is some kind of weird character b +etween the " and the > print $filehandle $1 . "\n" ; }

Replies are listed 'Best First'.
Re^7: substituting 1 escaped character for another
by Marshall (Canon) on Jul 27, 2018 at 02:22 UTC
    There are lots of possibilities - let's see what the OP has.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2024-04-18 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found