Regular Expression Test

Everything else that doesn't fall into one of the other PB categories.
AZJIO
Addict
Addict
Posts: 1298
Joined: Sun May 14, 2017 1:48 am

Regular Expression Test

Post by AZJIO »

Download: yandex.ru upload.ee (Windows, Linux)

screenshot on Linux
Image
screenshot2 on Linux
Last edited by AZJIO on Sun Feb 25, 2024 8:49 am, edited 21 times in total.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Regular Expression Test

Post 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)
ImageThe happiness is a road...
Not a destination
AZJIO
Addict
Addict
Posts: 1298
Joined: Sun May 14, 2017 1:48 am

Re: Regular Expression Test

Post 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.
Cyllceaux
Enthusiast
Enthusiast
Posts: 457
Joined: Mon Jun 23, 2014 1:18 pm
Contact:

Re: Regular Expression Test

Post by Cyllceaux »

Nice :), but I had to change the line 153 to

Code: Select all

DeclareDLL SciNotification(Gadget, *scinotify.SCNotification)
AZJIO
Addict
Addict
Posts: 1298
Joined: Sun May 14, 2017 1:48 am

Re: Regular Expression Test

Post by AZJIO »

Update
Added 2 buttons "Add" and "Remove" to populate libraries with regular expressions. (ru, en, Windows, Linux)
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Regular Expression Test

Post by Kwai chang caine »

Thanks for sharing all your works 8)
ImageThe happiness is a road...
Not a destination
AZJIO
Addict
Addict
Posts: 1298
Joined: Sun May 14, 2017 1:48 am

Re: Regular Expression Test

Post 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.
Fred
Administrator
Administrator
Posts: 16581
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Regular Expression Test

Post by Fred »

Nice !
AZJIO
Addict
Addict
Posts: 1298
Joined: Sun May 14, 2017 1:48 am

Re: Regular Expression Test

Post by AZJIO »

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