Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^7: Substitution in range operator

by benaw (Novice)
on Dec 30, 2015 at 07:43 UTC ( [id://1151449]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Substitution in range operator
in thread Substitution in range operator

I don't think I can use hex values in regex the hex is "a7c"

Replies are listed 'Best First'.
Re^8: Substitution in range operator
by Anonymous Monk on Dec 30, 2015 at 07:56 UTC
    sure you can, \x{a7c}
    $ perl -le " use Data::Dump qw/ dd /; dd qq{\x{a7c}} ; " "\x{A7C}"

Log In?
Username:
Password:

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

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

    No recent polls found