[AHK v2] Simple RegExMatch Tester (GUI) with RichEdit

Post your working scripts, libraries and tools.
oif2003
Posts: 214
Joined: 17 Oct 2018, 11:43
Contact:

[AHK v2] Simple RegExMatch Tester (GUI) with RichEdit

05 Nov 2018, 13:44

Hi,

I've been trying to figure out how to use regular expressions and some of the online testers were giving me different results from what AutoHotkey's RegExMatch() returns, so I made this script for testing.

https://github.com/oif2003/AHK_v2_64bit ... Tester.ahk

Edit: Added basic error handling for common errors and enforce the use of \ as escape character.

Update:
RegExMatch Tester now uses RichEdit and will highlight all matches. The following files are required:
https://github.com/oif2003/RichEditBox/ ... ).ahk?ts=4
https://github.com/oif2003/RichEditBox/ ... t.ahk?ts=4
(credit: Just Me, majkinetor, corrupt, jballi, DigiDon, and burque505)
Last edited by oif2003 on 10 Nov 2018, 07:01, edited 3 times in total.
burque505
Posts: 1734
Joined: 22 Jan 2017, 19:37

Re: [AHK v2] Simple RegExMatch Tester (GUI)

06 Nov 2018, 16:38

Hi, thanks for the script. I haven't been able to find this #Include script though:

Code: Select all

#include debugprint.ahk
I looked on your main GitHub page and didn't find it, Google was no help.
Regards,
burque505
oif2003
Posts: 214
Joined: 17 Oct 2018, 11:43
Contact:

Re: [AHK v2] Simple RegExMatch Tester (GUI)

06 Nov 2018, 18:11

Thanks for catching that. You can safely remove that line. I forgot to remove it after debugging the script. I have also updated GitHub to reflect the change.
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: [AHK v2] Simple RegExMatch Tester (GUI) with RichEdit

10 Nov 2018, 05:25

Looks good, thanks for sharing :thumbup:.

Cheers.

Return to “Scripts and Functions (v2)”

Who is online

Users browsing this forum: gongnl and 27 guests