11-17-2009 05:21 AM
One of the best regexp which I have seen:
How funny... And seems to be working...
Source: Mail::RFC822::Address: regexp-based address validation
best regards,
Andrey.
11-17-2009 07:14 AM
There really should be a law against doing something like that in LV.
Ben
11-17-2009 07:39 AM
-insert curse word(s)-
Wow.. That's quite the algorithm. I had a quick look at the link that you provided..
Someone had a bit of time on their hands..
How would this be useful? Reduce SPAM?
Other than the "wow" effect, is it useful?
11-17-2009 12:36 PM
Ray.R wrote:
Other than the "wow" effect, is it useful?
I don't know - it's kind of mesmerizing if you look at it for a while.
11-17-2009 12:58 PM
smercurio_fc wrote:
Ray.R wrote:Other than the "wow" effect, is it useful?
I don't know - it's kind of mesmerizing if you look at it for a while.
NO NO don't listen to the sirens! They'll tempt you in with their gracful curves and subtle umlats but don't be fooled! The next thing you know you will be thinking syntax, and dogs and cats will be living together...
Ben
11-17-2009 01:42 PM
11-17-2009 05:45 PM
altenbach wrote:
I have that nagging feeling that it could be done with about 3 fewer characters. 😮
Sure!
🙂
Andrey.
11-17-2009 08:49 PM - edited 11-17-2009 08:51 PM
smercurio_fc wrote:
Ray.R wrote:Other than the "wow" effect, is it useful?
I don't know - it's kind of mesmerizing if you look at it for a while.
For bonus points colour code by character (ala paint by numbers), and use a monospace font.
edit:It also compresses down quite nicely.
11-24-2009 12:17 PM
That's a neat way to obfuscate code. I guess there are tools available that can blow any given regExpr. But on the other side, these tools will also allow (maybe more intentional) simplify the regExpr down to a human readable format again.
Felix
10-28-2016 06:07 AM
Thanks Andray. Made it into a VI 🙂