![]() |
|
No such thing as a small change | |
PerlMonks |
Re: Re: Re: ^\s not equal \S?by SavannahLion (Pilgrim) |
on Dec 04, 2003 at 18:20 UTC ( #312266=note: print w/replies, xml ) | Need Help?? |
Wait a minute.... I just tried your example and it still wipes out the string. It's like a nice big OR isn't it? So isn't s/[\S]|[\W]//g really the same as s/[\S\W]//g?
Edit: A negative demark for pointing out this out? Bleh, now that isn't exactly fair. Oh well, I still haven't quite worked out what benefits voting would have. Is it fair to stick a link to my site here? Thanks for you patience.
In Section
Seekers of Perl Wisdom
|
|