in reply to Regex for weird characters

Just to get you started...
/[^a-zA-Z0-9_]/ && print "funny things appear in $_\n" for qw/not_funn +y funny1-/;

Replies are listed 'Best First'.
Re^2: Regex for weird characters
by JediWizard (Deacon) on Sep 27, 2004 at 14:46 UTC
    /[^\w\x21-\x26\x28-\x2A\x5E\x40]/ && print "funny things appear in $_\n" for qw/not_funny funny1-/;

    But that still doesn't account for things like ? or > or <. I'm taking you too litterally when you say shitf-# keys... :-)

    May the Force be with you