Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: /^[^A-Za-z0-9 ]*$/

by ambrus (Abbot)
on Sep 30, 2005 at 08:16 UTC ( #496371=note: print w/replies, xml ) Need Help??


in reply to /^[^A-Za-z0-9 ]*$/

Very nice obfuscation. I definitely couldn't read anything from it when I looked at the source.

Here's a way to make it resistant against Deparse. (It still doesn't print the canonical comma, I'm lazy to do that.)

$;="+[^,}",$/=($;^'[>,@]')."-".(('^|*!]@~/*%*..*]]./[@;.^,^\,{@\?@;,"} +@`|')[$;]^';^]@/.^^[~`[]^}<@@/(^\~|;.@[(=\+^^~!.=^'),`$/`

Update: see also Re: my JaPh,.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://496371]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2018-07-21 19:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (450 votes). Check out past polls.

    Notices?