SHARE
TWEET

Untitled

a guest Jun 19th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. use strict;
  2. use warnings;
  3.  
  4. my $test = "testString";
  5. print $1 if ($test =~ m/^(p{L}+)$/);   #testString
  6. $test = "testStringö";
  7. print $1 if ($test =~ m/^(p{L}+)$/);   #no print msg
  8. $test = "testéString";
  9. print $1 if ($test =~ m/^(p{L}+)$/);   #no print msg
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top