Regex Searches

Note: This content is obsoleted by Textadept 9.0, which uses TRE

For pre-9.0 versions of Textadept:

Currently there are 2 different regex implementations: Scintilla's built-in (and somewhat limited) library, and a more complete external library.

Scintilla Built-In

You can use Scintilla's built-in regular expression engine for searches in Textadept instead of using Lua Patterns by requireing the attached script in your ~/.textadept/init.lua.


You can use a more complete regex engine hosted here.

Added the file “regex-find.lua”.
Deleted the file “regex-find.lua”.
Added the file “regex-find.lua” for Textadept 7.x.

Edited on Friday, October 21st 2016 at 6:39 PM.