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})