in reply to Regex 'If Not Match'
unless ($reference =~ m/38[0-9]{8}[A-Z]{3}/) { $reference = ""; }
If possible, I prefer unless way over !~ because I think it is better readable since I sometimes miss !~ at the first fast view to get the structure of a program
Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"
|
|---|