Re: [code] [textadept] Search and replace by regex

From: Mitchell <m.att.foicica.com>
Date: Fri, 31 Jan 2020 12:22:23 -0500 (EST)

Hi Lukas,

On Fri, 31 Jan 2020, Procházka Lukáš Ing. wrote:

> Hi Mitchell,
>
>>
>> Textadept's regex and Lua patterns are completely separate. Textadept used
>> to use Lua patterns for searching, but more people are familiar with regex,
>> so Lua patterns were replaced with a more or less full-featured regex
>> engine.
>>
>> I hope this helps clear up any confusion.
>
> so it's clear now - thanks for explanation!
>
> As TA uses Lua widely to interoperate between GTK and whatever extension
> (menus, accelerators, events, ...), I thought (IMHO naturally) that TA regex
> is based on Lua (patterns), too.
>
> It might be useful to add to the "Find Dialog" - next to "[ ] Regex" - also a
> check box "[ ] Lua pattern" which might be more familiar for some users (like
> me)...

Check out this if you want Lua pattern search: https://foicica.com/wiki/lua-pattern-find

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 Jan 2020 - 12:22:23 EST

This archive was generated by hypermail 2.2.0 : Sat 01 Feb 2020 - 06:52:32 EST