Page 1 of 1

Regular Expression Test

Posted: Thu Feb 25, 2021 10:04 am
by AZJIO
Download: yandex.ru upload.ee (Windows, Linux)

screenshot on Linux
Image
screenshot2 on Linux

Updates (v0.6)
Added "Range Test" button. Used to view which characters will be captured by a range.
screenshot

Added alternating bracket highlighting.
Fix to prevent continuous signal about the need to highlight the regular expression code.

2024.05.19 (v0.6.3)
Added external language file Lang.txt in the configs folder
Added parameter ForceLangSel = 2, which forcibly enables the 1st or 2nd language in the program.
Improved change in gadget size coordinates when changing the window (useful on Linux).
Fixed path to template on Linux.

Re: Regular Expression Test

Posted: Thu Feb 25, 2021 5:58 pm
by Kwai chang caine
Run here 8) , but too much complex for me :shock:
I know nothing to the REGEX :oops:
But thanks for sharing 8)

Re: Regular Expression Test

Posted: Wed Feb 23, 2022 10:22 am
by AZJIO
Updated
Added window resizing and saving.
Added a checkbox to support groups in the replacement box.
Added output of regular expression execution time. Works only on Windows.


I want to add templates so that I can get the finished code for my program based on the input data.

Re: Regular Expression Test

Posted: Wed Feb 23, 2022 10:37 am
by Cyllceaux
Nice :), but I had to change the line 153 to

Code: Select all

DeclareDLL SciNotification(Gadget, *scinotify.SCNotification)

Re: Regular Expression Test

Posted: Wed Apr 27, 2022 6:17 pm
by AZJIO
Update
Added 2 buttons "Add" and "Remove" to populate libraries with regular expressions. (ru, en, Windows, Linux)

Re: Regular Expression Test

Posted: Sat Apr 30, 2022 6:49 pm
by Kwai chang caine
Thanks for sharing all your works 8)

Re: Regular Expression Test

Posted: Tue May 10, 2022 8:10 am
by AZJIO
Added command line.

As a tool in PureBasic, you can add the command line:
-l:PureBasic -nu -i:4 "%TEMPFILE"

-l:PureBasic - library selection.
-nu - do not update the processed text so that it does not change when other items are clicked.
-i:4 - selection of the 4th item, counting from 0. The parameter must be after the -l key: otherwise it will work when the library is not open.
"%TEMPFILE" - quoted path of file to be opened.

Re: Regular Expression Test

Posted: Tue May 10, 2022 9:53 am
by Fred
Nice !

Re: Regular Expression Test

Posted: Tue Feb 25, 2025 10:55 pm
by AZJIO
Updated
Increased data output speed if several thousand items are found. The CopyMemoryString() function is used.