Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: [[:punct:]] vs. {IsPunct} in 5.8

by particle (Vicar)
on Nov 02, 2003 at 14:26 UTC ( [id://303910]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        The following equivalences to Unicode \p{} constructs and equivale
    +nt
        backslash character classes (if available), will hold:
    ...
            xdigit      IsXDigit
    
        <em>For example "[:lower:]" and "\p{IsLower}" are equivalent.</em>
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    testing (?-xism:[[:lower:]]) and (?-xism:\p{IsLower})
    testing (?-xism:[[:blank:]]) and (?-xism:\p{IsBlank})
    testing (?-xism:[[:graph:]]) and (?-xism:\p{IsGraph})
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://303910]
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: (6)
As of 2024-04-19 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found