Re:Rails Template: Create a Twitter Application in Seconds
by Tichy on Friday April 03, 2009 @03:46PM
(#545478)
I thought it might not be perfect, but making it perfect is probably next to impossible. Here is a link with some monstrous URL matching Regexps: http://www.regexguru.com/2008/11/detecting-urls-in-a-block-o...
[ Parent
| on HN ]
Re:Rails Template: Create a Twitter Application in Seconds
by gord on Friday April 03, 2009 @10:53PM
(#545983)
oh yeah... regex to match all urls == ugly hack.
Why didnt they just define urls by a simple FSM / regex in an RFP ?
Hey, I complain about the internet..but I do appreciate RFCs... Sweet lord, have a look at the UML / MOF spec - its hilariously vague and amorphic.