Comments on: Biggest Regex In The Word http://www.terminally-incoherent.com/blog/2007/08/24/biggest-regex-in-the-word/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: Brian Becker http://www.terminally-incoherent.com/blog/2007/08/24/biggest-regex-in-the-word/#comment-56885 Sat, 26 Oct 2013 19:02:19 +0000 http://www.terminally-incoherent.com/blog/2007/08/24/biggest-regex-in-the-word/#comment-56885

My current RegEx is 157k. It searches text for ancient references which means it has all the various abbreviations for those references. It resides on GoogleAppEngine and can index 100k in less than 2 seconds but the RegEx portion of that is under a few milliseconds the rest of the processing time is processing each of the found objects. It got so big to handle that I had to write code to generate the RegEx from a flat file.

Reply  |  Quote
]]>
By: GDR! http://www.terminally-incoherent.com/blog/2007/08/24/biggest-regex-in-the-word/#comment-17103 Thu, 09 Sep 2010 14:48:48 +0000 http://www.terminally-incoherent.com/blog/2007/08/24/biggest-regex-in-the-word/#comment-17103

Good to find a mirror in the comments. Funny thing, but I needed to find this regexp today.

Reply  |  Quote
]]>
By: Abigail http://www.terminally-incoherent.com/blog/2007/08/24/biggest-regex-in-the-word/#comment-16448 Fri, 09 Jul 2010 17:01:57 +0000 http://www.terminally-incoherent.com/blog/2007/08/24/biggest-regex-in-the-word/#comment-16448

I never claimed the regexp to be cover all possible schemes. It didn’t 10 years ago, and it certainly doesn’t now. Assuming you have the Regexp::Common module installed, you can get a similar regexp with the following line of code: perl -MRegexp::Common -E ‘say $RE{URI}’

Reply  |  Quote
]]>
By: Efreak http://www.terminally-incoherent.com/blog/2007/08/24/biggest-regex-in-the-word/#comment-14177 Mon, 01 Feb 2010 07:38:35 +0000 http://www.terminally-incoherent.com/blog/2007/08/24/biggest-regex-in-the-word/#comment-14177

Also, this doesn’t match irc:// or ssh:// or several others

Reply  |  Quote
]]>
By: Efreak http://www.terminally-incoherent.com/blog/2007/08/24/biggest-regex-in-the-word/#comment-14176 Mon, 01 Feb 2010 07:34:13 +0000 http://www.terminally-incoherent.com/blog/2007/08/24/biggest-regex-in-the-word/#comment-14176

link ahref is badly typed. Also, foad.org is either down or dead. The correct url is:
http://web.archive.org/web/20070302134659/foad.org/~abigail/Perl/url3. regex

Reply  |  Quote
]]>
By: Pfff http://www.terminally-incoherent.com/blog/2007/08/24/biggest-regex-in-the-word/#comment-11878 Fri, 27 Mar 2009 21:59:51 +0000 http://www.terminally-incoherent.com/blog/2007/08/24/biggest-regex-in-the-word/#comment-11878

broken link

Reply  |  Quote
]]>