| simcop2387 | eval: 'test@test.com' =~ {^[-!#$%&'*+/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+/0-9=?A-Z^_a-z{|}~])*@[a-zA-Z](-?[a-zA-Z0-9])*(\.[a-zA-Z](-?[a-zA-Z0-9])*)+$} |
| buubot | simcop2387: Error: syntax error at eval line 1, near "{^" Missing right curly or square bracket at eval line 2, at end of line |
| simcop2387 | eval: 'test@test.com' =~ m{^[-!#$%&'*+/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+/0-9=?A-Z^_a-z{|}~])*@[a-zA-Z](-?[a-zA-Z0-9])*(\.[a-zA-Z](-?[a-zA-Z0-9])*)+$} |
| buubot | simcop2387: 1 |
| simcop2387 | eval: 'test@test.com' =~ m{^[-!#$%&'*+/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+/0-9=?A-Z^_a-z{|}~])*@[a-zA-Z](-?[a-zA-Z0-9])*(\.[a-zA-Z](-?[a-zA-Z0-9])*)+$}?"valid":"invalid"; |
| buubot | simcop2387: valid |
| simcop2387 | eval: 'test@@test.com' =~ m{^[-!#$%&'*+/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+/0-9=?A-Z^_a-z{|}~])*@[a-zA-Z](-?[a-zA-Z0-9])*(\.[a-zA-Z](-?[a-zA-Z0-9])*)+$}?"valid":"invalid"; |
| buubot | simcop2387: invalid |
| Eidolos | yarr |
| revdiablo | Okay, that is a bit more than mildly annoying |
| simcop2387 | there you are, have at it in #buubot revdiablo: i know |
| hobbs | it's funny, I read the beginning of that post and said "heh, I bet he doesn't handle quoted local-parts" and then I got to the end and was validated! ;) |
| action | CPAN upload: Net-GPSD-Server-Fake-0.15 by MRDVT |
| CPAN | upload: Net-GPSD-Server-Fake-0.15 by MRDVT |
| whitenoyce | what would be the perl -e for these ", -> "| or ",, -> "|| or ",,, -> "||| |
| Eidolos | eval: use /w 3 |
| buubot | Eidolos: Error: Search pattern not terminated at eval line 1. |
| Eidolos | haha oops :) |
| thrig | whitenoyce: huh? |
| whitenoyce | hold on workign on getting an ugly working example for improvement |
| Caelum | GumbyBRAIN: explain the meaning of life |
| GumbyBRAIN | I don't use macs anymore is this the way of life. |
| merlyn | test@@test.com is not invalid |
| whitenoyce | trying to convert one or more comma's in a ",,, sequence to "||| i.e. a , preceded by a " |
| thrig | with the same number of ||| ? |
| whitenoyce | and all subsequent , thrig, yeah |
| thrig | s/"(,)+/'"'.'|'x length $1/e or something like that |
| hobbs | s/"(,+)/'"' . '|' x length $1/eg; haha |
| thrig | more like hobbses |
| Aankhen`` | Jeez. Bit::Vector sure seems to have a lot of tests. |
| hobbs | yeah, thrig's + landed in the wrong place hmm. speaking of tdwtf they have one up now titled "A Real Brazil Nut" but it doesn't relate at all to the less-PC name of that nut ;) |
| whitenoyce | not working... |
| revdiablo | Why have "code wtfs" become the exception, and long winded stories the rule? |