Rexman
Posted: Fri Apr 24, 2009 1:28 pm
I have written a small tool for my own needs but I think it might be also good help for others ...
The tool's called Rexman and it's aim is to help one in working with and development of regular expressions, especially in PureBasic.
Just put your sample-text into the regarding area and code your regex in the upper StringGadget -> Rexman will update automatically.
Download (win32/win64/lin32/lin64): http://www.wojner.at/static/rexman.zip
Here's the changelog ...
EDIT (Version 2.0 Build 56)
* Fixed a crash at startup under very special circumstances
EDIT (Version 2.0 Build 55)
* Performance-boost when saving sessions.
* Group-views when setting group-id to -1/-2.
* Mapview for REGEX matches in Resultvisualizer
* Load sample-data from file
* Context menues
EDIT (Version 2.0 Build 54)
* Fixed crash (due to Scintilla.dll sharing) when multiple instances of RexMan where running.
* Use Scintilla for info-view
* Replace sample-data based on REGEX with string and copy result to clipboard
* REGEX groups (since PB 5.30) are now supported -> Use the according spin-gadget to switch between 0 (= no group) and the desired group-id.
EDIT (Version 2.0 Build 53)
* Statusbar displaying Rexman's state
* Explanation strings for special characters
* Linux should detect regex changes now
* Change of sample data now refreshes results
* Other minor bugfixes
EDIT (Version 2.0 Build 51)
* Token viewer can show original Regex tokens by opt-in via checkbox
* Regex input control is now Scintilla based
* Regex input control shows colors analogue to token viewer
* Describe special characters within custom character-class
EDIT (Version 2.0 Build 50):
* Use of Scintilla for sample/results text
* Revised save-pending and the according management
* State of the dynamic layout (Mainwindow and cheatsheet) is stored/loaded
* Linewrap state is stored/loaded
* Sample and result data scroll correlated
* Token viewer to easily understand the coded regular expression
* RexManHQ - Checks for updates and downloads the latter
* RexMan now does have an icon on Windows platforms
* Bugfixes
EDIT (Version 1.2 Build 46):
* Major bugfix: Crash on Linux
* Some minor bugfixes
* "Courier New" font for Regex
EDIT (Version 1.2 Build 44):
* Bugfixes
* Linewrapping for sample/visualization data
EDIT (Version 1.2 Build 42):
* Bugfixes
EDIT (Version 1.2 Build 38):
* Available for win32/win64/lin32/lin64
* Bugfixes
* Newly available NoCase-Mode is now supported
* Sessions can now be saved/loaded
* Regexs can now be exported/imported
* Regex-Strings can now be pasted/copied from/to the clipboard (straight ones as well as combined with chr(34))
* A full CreateRegularExpression statement can now be automatically generated
* The resultlist can now be copied to the clipboard which makes RexMan even usable as a generic tool
Have phun!
Cheers Didel
The tool's called Rexman and it's aim is to help one in working with and development of regular expressions, especially in PureBasic.
Just put your sample-text into the regarding area and code your regex in the upper StringGadget -> Rexman will update automatically.
Download (win32/win64/lin32/lin64): http://www.wojner.at/static/rexman.zip
Here's the changelog ...
EDIT (Version 2.0 Build 56)
* Fixed a crash at startup under very special circumstances
EDIT (Version 2.0 Build 55)
* Performance-boost when saving sessions.
* Group-views when setting group-id to -1/-2.
* Mapview for REGEX matches in Resultvisualizer
* Load sample-data from file
* Context menues
EDIT (Version 2.0 Build 54)
* Fixed crash (due to Scintilla.dll sharing) when multiple instances of RexMan where running.
* Use Scintilla for info-view
* Replace sample-data based on REGEX with string and copy result to clipboard
* REGEX groups (since PB 5.30) are now supported -> Use the according spin-gadget to switch between 0 (= no group) and the desired group-id.
EDIT (Version 2.0 Build 53)
* Statusbar displaying Rexman's state
* Explanation strings for special characters
* Linux should detect regex changes now
* Change of sample data now refreshes results
* Other minor bugfixes
EDIT (Version 2.0 Build 51)
* Token viewer can show original Regex tokens by opt-in via checkbox
* Regex input control is now Scintilla based
* Regex input control shows colors analogue to token viewer
* Describe special characters within custom character-class
EDIT (Version 2.0 Build 50):
* Use of Scintilla for sample/results text
* Revised save-pending and the according management
* State of the dynamic layout (Mainwindow and cheatsheet) is stored/loaded
* Linewrap state is stored/loaded
* Sample and result data scroll correlated
* Token viewer to easily understand the coded regular expression
* RexManHQ - Checks for updates and downloads the latter
* RexMan now does have an icon on Windows platforms
* Bugfixes
EDIT (Version 1.2 Build 46):
* Major bugfix: Crash on Linux
* Some minor bugfixes
* "Courier New" font for Regex
EDIT (Version 1.2 Build 44):
* Bugfixes
* Linewrapping for sample/visualization data
EDIT (Version 1.2 Build 42):
* Bugfixes
EDIT (Version 1.2 Build 38):
* Available for win32/win64/lin32/lin64
* Bugfixes
* Newly available NoCase-Mode is now supported
* Sessions can now be saved/loaded
* Regexs can now be exported/imported
* Regex-Strings can now be pasted/copied from/to the clipboard (straight ones as well as combined with chr(34))
* A full CreateRegularExpression statement can now be automatically generated
* The resultlist can now be copied to the clipboard which makes RexMan even usable as a generic tool
Have phun!
Cheers Didel