Re: [code] [textadept] Regexp searches don't work with longer patterns

From: Chris Emerson <>
Date: Tue, 11 Feb 2014 15:30:28 +0000

On Tue, Feb 11, 2014 at 01:26:07PM +0000, Chris Emerson wrote:
> I haven't worked out where the limitation is, but I find regular expression
> searches don't work (search_next returns -1) when the pattern is too long.
> Non-regexp searches (flags=0) seem to continue working.

I believe this is 2048 byte limit for the NFA inside the Scintilla regex
engine - and with a case-insensitive search, a single character match takes
something like 33 bytes (it has a bitmask of allowed characters). I can
work around my issue by making it a case sensitive search instead.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Tue 11 Feb 2014 - 10:30:28 EST

This archive was generated by hypermail 2.2.0 : Wed 12 Feb 2014 - 06:40:04 EST