Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^4: In my it is printing in the else i want to get output for the for loop in linux.by afoken (Chancellor) |
on Mar 29, 2022 at 11:19 UTC ( [id://11142496]=note: print w/replies, xml ) | Need Help?? |
I get the same results, but I wonder where that is documented ... (Some doc searching and a short meeting later ...) It's hidden in perlrecharclass:
So I stand corrected. [\d] means the same as [0-9] [\w] would mean same as [a-zA-Z0-9_] Well, that's only true if you ignore Unicode. perlre points to perlunicode, which has this nice short explaination:
Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|