4 ms·
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.reg
by Tichy 18y ago
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-of-text/ http://www.regexguru.com/2008/11/detecting-urls-in-a-block-o...
- deleted 18y ago[deleted]
- gord 18y agooh 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.