Way more than two problems
-
string RegExURLWithNoHyperLinks = @"(?<!(=)|(=\"")|(=\'))(((http|ftp|https)://)|(www\.))+[\w]+(.[\w]+)([\w\-\.\,@?^=%&:/~\+#\(\)]*[\w\-\,\@?^=%&/~\+#\(\)])?(?!([^>]*>)?[^>]*/a>)";
Seriously, who thought this was a good idea?
-
Not the original author. You can see where he started smashing his head against the keyboard half-way through writing that monster.
-
Oh, I see the problem:
(http|ftp|https)
instead of:
It's wasteful and doesn't recognise ftps. Tsc, tsc.((ht|f)tps?)
-
My roommate found this one yesterday:
^[a-zA-Z0-9_\{\}:\.\-\+]+.|.[^a-zA-Z0-9_%\{\}:\.\-\+]+[a-zA-Z0-9_\{\}:\.\-\+]+.*
-
strfriend.com agrees that these are awful.
-
What exactly is a "URL with no HyperLinks"?
-
@Someone You Know said:
What exactly is a "URL with no HyperLinks"?
Well, see for example, this:http://forums.thedailywtf.com/forums/p/20634/237913.aspx#237913
-
@Zecc said:
@Someone You Know said:
What exactly is a "URL with no HyperLinks"?
Well, see for example, this:http://forums.thedailywtf.com/forums/p/20634/237913.aspx#237913
TDEMSYR.
-
-
@DCRoss said:
ZING!Not the original author. You can see where he started smashing his head against the keyboard half-way through writing that monster.
-
@dhromed said:
TDEMSYR
Say what?@dhromed said:
strfriend appears to be awesome
Too bad it isn't finished and it isn't implemented client-side.But I like the part where it goes <div class="guts">
-
@dhromed said:
strfriend appears to be awesome
Yes. It does. I might be able to stomach working on code written by Perl nazis!
-
@Zecc said:
@dhromed said:
Hmm.. "This Demonstrates Exactly. Magnifique! Sir, You Rock!" ?TDEMSYR
Say what?"Those Damn Engineers Mixed Sulfur, Yolks and Raisinettes" ?
-
@Zecc said:
@Zecc said:
@dhromed said:
Hmm.. "This Demonstrates Exactly. Magnifique! Sir, You Rock!" ?TDEMSYR
Say what?"Those Damn Engineers Mixed Sulfur, Yolks and Raisinettes" ?
Still makes more sense than STH for something. Who abbreviates "something?" Seriously.
-
@blakeyrat said:
Still makes more sense than STH for something. Who abbreviates "something?"
Someone more used to using a mobile without T9 than a keyboard?
Seriously.
-
@Zecc said:
That Doesn't Even Make Sense, Yolks and Raisinettes!@Zecc said:
@dhromed said:
Hmm.. "This Demonstrates Exactly. Magnifique! Sir, You Rock!" ?TDEMSYR
Say what?"Those Damn Engineers Mixed Sulfur, Yolks and Raisinettes" ?
-
-
@dhromed said:
@Xyro said:
strfriend.com agrees that these are awful.
strfriend appears to be awesome
Its example email regexp is a WTF, though.
-
@blakeyrat said:
Still makes more sense than STH for something. Who abbreviates "something?" Seriously.
My English textbook told me so. No kidding.
-
@b-redeker said:
@blakeyrat said:
Who abbreviates "something?" Seriously.
<raises hand>
I abbrev it "summat" very rarely. It's Canadian or summat.
-
@Shortjob said:
@blakeyrat said:
Still makes more sense than STH for something. Who abbreviates "something?" Seriously.
My English textbook told me so. No kidding.
Yup, my English teachers in secondary and high school did that too. Saves writing on the blackboard, I guess.
-
@bannedfromcoding said:
@Shortjob said:
@blakeyrat said:
Still makes more sense than STH for something. Who abbreviates "something?" Seriously.
My English textbook told me so. No kidding.
Yup, my English teachers in secondary and high school did that too. Saves writing on the blackboard, I guess.Well, obviously, this means it's ragnarok.
-
@blakeyrat said:
@Zecc said:
@Zecc said:
@dhromed said:
Hmm.. "This Demonstrates Exactly. Magnifique! Sir, You Rock!" ?TDEMSYR
Say what?"Those Damn Engineers Mixed Sulfur, Yolks and Raisinettes" ?
Still makes more sense than STH for something. Who abbreviates "something?" Srsly.
FTFY.
-
Ooh, I never encountered strfriend.com before, thanks for the link.