Re: [code] Re: Will it ever be possible to search by regular expression

From: Mitchell <m.att.foicica.com>
Date: Fri, 31 May 2013 10:05:25 -0400 (Eastern Daylight Time)

Hi Laura,

On Fri, 31 May 2013, LM wrote:

> On Thu, May 30, 2013 at 10:00 PM, <code+help.att.foicica.com> wrote:
>
>> [1] http://code.google.com/p/re2/
>>
>> Thanks. Looks like it may have problems compiling on Win32 environments.
>> I'm not sure I have the motivation to try and do this :(
>>
>>
> There are at least 3 other regex libraries I know that work on Win32.
> Here are some links:
> http://gnuwin32.sourceforge.net/packages/regex.htm
> http://sourceforge.net/p/mingw/regex/ci/master/tree/
>
> I'm currently using pcre with various Open Source applications for
> cross-platform regex functionality. It's available at:
> http://www.pcre.org/
> They've added jit support recently to increase speed for some of the areas
> where it previously didn't perform as well as the re2 algorithm:
> http://sljit.sourceforge.net/pcre.html
> Also, see http://www.pcre.org/readme.txt for information on renaming
> headers on Windows to support regex. The headers have different names by
> default so they won't collide with regex headers on POSIX systems.

Thanks for the suggestions. So far, all the regex libraries I've seen are
pretty heavy (even re2) and do not fit with Textadept's minimalist
mentality. Textadept compiles all of its dependencies (other than GTK and
curses) into itself, so regex libraries would bloat up the exe size
considerably.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Fri 31 May 2013 - 10:05:25 EDT

This archive was generated by hypermail 2.2.0 : Sat 01 Jun 2013 - 06:37:47 EDT