Using RegEx in SciTE4AutoHotkey's search -> keydelay|keypress does not work

The popular SciTE-based AutoHotkey Script Editor
Leli196
Posts: 220
Joined: 29 Aug 2015, 05:47
Location: Germany

Using RegEx in SciTE4AutoHotkey's search -> keydelay|keypress does not work

Post by Leli196 » 22 May 2016, 12:51

Hi there,
I want to use RegEx in SciTE4AutoHotkey to search something, but cannot figure out how to do it correctly. I want to use | to mark alternatives, but it takes the | literal and finds nothing:

Code: Select all

keydelay|keypress
Btw of course the regex option is activated.
Please help!

Greetings Leli196

lexikos
Posts: 9780
Joined: 30 Sep 2013, 04:07
Contact:

Re: Using RegEx in SciTE4AutoHotkey's search -> keydelay|keypress does not work

Post by lexikos » 06 Jun 2016, 01:31

SciTE doesn't use PCRE (the regex engine used by AutoHotkey) and has somewhat limited regex capabilities. I don't think it supports anything other than what is documented:
http://www.scintilla.org/SciTERegEx.html

Post Reply

Return to “SciTE4AutoHotkey”