Re: [code] [textadept] Macros/add-ons for quick C/C++ function traversal?

From: Mitchell <>
Date: Mon, 29 Apr 2019 22:35:19 -0400 (EDT)

Hi Ardi,

On Sun, 14 Oct 2018, ardi wrote:

> Thanks a lot, Mitchell. It seems that the regex engine that you are
> using is not crash-safe (even from the find UI at the bottom of the TA
> window). I'm trying to get the regex at
> working in TA. It doesn't work out of
> the box, so I tried to tweak the syntax, and in the process I was able
> to crash TA by using the find UI. For example, typing this regex in
> the find field:
> ^[a-zA-Z]([^;#\\"'{}=><!/]|\\n)*\\\\)[ \\t]*\\n?[ \\t]*\\\\{
> Yes, I know this regex is wrong because it has C-string syntax
> (backslashes are escaped), but even if it's wrong, it shouldn't crash
> TA, just issue a syntax error for example.
> The procedure for reproducing the crash is straightforward:
> -Open TA
> -Open a C file.
> -Show the Find UI.
> -Copy and paste the regex above, exactly in the search field.
> -Choose regex mode.
> -Click "Find Next", and voila!

Sorry for the long delay, but I've finally been able to get my hands on a macOS test box and verified this was a bug in gcc and/or libstdc++. I've applied a fix that seems to work in the latest nightly build.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Mon 29 Apr 2019 - 22:35:19 EDT

This archive was generated by hypermail 2.2.0 : Tue 30 Apr 2019 - 06:54:21 EDT