That seems like overkill. You may want to try this regex:

http://daringfireball.net/2010/07/improved_regex_for_matching_urls

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of [email protected]
Sent: August 27, 2010 4:57 AM
To: [email protected]
Subject: [antlr-interest] Searching for strings

Hi,

can I use ANTLR to search for URIs in text as I can do it with regular 
expressions?

Thanks,

Armin

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to