Re: [code] help needed with textadept-ncurses

From: Mitchell <>
Date: Fri, 17 May 2013 17:43:24 -0400 (Eastern Daylight Time)


On Fri, 17 May 2013, Chris Emerson wrote:

> Hi,
> On Fri, May 17, 2013 at 12:29:47AM -0400, Mitchell wrote:
>> On Thu, 16 May 2013, Simon wrote:
>>> 6. Will it ever be possible to search by regular expression?
>> There is a hack to do this:
>> I don't know if it will ever be supported natively though. Regex
>> libraries are quite big.
> Who needs a regex library when you have LPeg? :-)
> Seriously, if there were a regex-to-LPeg pattern converter, would it be
> possible to plug that in?

LPeg and Lua patterns are two different things. Right now only Lua
patterns are used in searches. There is no way to do a regex-to-Lua
pattern conversion as you could probably guess, but a regex-to-LPeg
converter could indeed be plugged in. I wouldn't want to support it


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Fri 17 May 2013 - 17:43:24 EDT

This archive was generated by hypermail 2.2.0 : Sat 18 May 2013 - 06:31:39 EDT