Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Regex with Backslashes

by AnomalousMonk (Archbishop)
on May 17, 2020 at 21:03 UTC ( [id://11116874]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $sq = '\ \\  \\\ \\\\  \\\\\ \\\\\\';
    ...
    <\ \  \\ \\  \\\ \\\>
    
    >\  \\  \\\<
    
  2. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $sqsq = 'abc\'';
    ...
    <abc'>
    
    >abc\<
    
  3. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $s = qq{1,Something\\,\\\\text\\\\text\\0x2B\\\\,X,99};
    ...
    [Something\,\\text\\text\0x2B\\]
    [X]
    [99]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found