Help for this page

Select Code to Download


  1. or download this
    use charnames qw( :full );
    
    ...
    print $s =~ /^(?:\r\n|[\p{Alnum} \n-])*\z/
        ? "match\n"
        : "no match\n";
    
  2. or download this
    match
    
  3. or download this
    use charnames qw( :full );
    
    ...
    print $s =~ /^(?:\r\n|[\p{Alnum} \n-])*\z/
        ? "match\n"
        : "no match\n";
    
  4. or download this
    match
    
  5. or download this
    use Unicode::Normalize qw( normalize );
    use charnames          qw( );
    ...
                normalize($_, $s);
        print("\n");
    }
    
  6. or download this
    NFC
    U+006B: LATIN SMALL LETTER K
    ...
    U+0301: COMBINING ACUTE ACCENT
    U+0063: LATIN SMALL LETTER C
    U+0301: COMBINING ACUTE ACCENT
    
  7. or download this
    "\N{LATIN SMALL LETTER E WITH ACUTE}" =~ /^\X\z/
    
  8. or download this
    "e\N{COMBINING ACUTE}" =~ /^\X\z/