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

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

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

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] [Download] GeSHi © Codebox Plus

keydelay|keypress

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

Greetings Leli196
lexikos
Posts: 5601
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

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

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

Return to “SciTE4AutoHotkey”

Who is online

Users browsing this forum: No registered users and 2 guests