It is currently Sun May 26, 2013 8:59 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 56 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Rexman
PostPosted: Fri Apr 24, 2009 1:28 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Dec 18, 2004 11:56 am
Posts: 277
Location: TPM
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.

Image

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.array51.com/static/rexman.zip

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


Last edited by Didelphodon on Wed May 08, 2013 3:04 pm, edited 9 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 24, 2009 2:12 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
Nice idea - thanks.

8)

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 24, 2009 2:16 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 31, 2005 11:09 pm
Posts: 2242
Location: Italy
Nice one, I already knew of some other software like this.

Useful, thank you :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 24, 2009 3:54 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Jul 21, 2006 4:41 am
Posts: 2300
Location: Berlin, Germany
luis wrote:
Nice one, I already knew of some other software like this.

Would you mind giving us the link? I'm interested. :)

_________________
Image
Windows 7, 64-Bit, PB v4.51 / Whose Hoff is it anyway?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 24, 2009 4:11 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 31, 2005 11:09 pm
Posts: 2242
Location: Italy
Sorry Didelphodon, didn't want to hijack your thread, but since someone is asking me...

Fluid Byte wrote:
Would you mind giving us the link? I'm interested. :)


This is my favorite, it's shareware:

http://www.regexbuddy.com/



There are many others freeware floating around, look for "regex tester" or "regular expression tester" or the like!

Anyway, any regexp library has some differences compared to another, so Didelphodon program is good for us because is using (I imagine) the regexp library include with PB. So a test with his tools is more "authoritative" for us PB users :)

(Regexp buddy supports many regex variants).


Last edited by luis on Fri Apr 24, 2009 4:15 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 24, 2009 4:13 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Jul 21, 2006 4:41 am
Posts: 2300
Location: Berlin, Germany
I asked for the link so it's my fault :P

Thanks luis!

_________________
Image
Windows 7, 64-Bit, PB v4.51 / Whose Hoff is it anyway?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 25, 2009 11:00 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Dec 18, 2004 11:56 am
Posts: 277
Location: TPM
luis wrote:
Sorry Didelphodon, didn't want to hijack your thread, but since someone is asking me...

No problem
luis wrote:
... because is using (I imagine) the regexp library include with PB ...

Correct


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 26, 2009 6:28 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 13, 2004 12:45 am
Posts: 2749
Location: Bergen, Norway
Does anyone know of a simple, free program that allows me to easily create regular expressions?

_________________
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 26, 2009 7:47 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
GeoTrail wrote:
Does anyone know of a simple, free program that allows me to easily create regular expressions?


Yes, Purebasic! :wink:

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 31, 2009 12:08 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Dec 18, 2004 11:56 am
Posts: 277
Location: TPM
Rexman is back online again!

Cheers Didel.


Top
 Profile  
 
 Post subject: Re: Rexman
PostPosted: Tue Aug 16, 2011 9:43 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Dec 18, 2004 11:56 am
Posts: 277
Location: TPM
A new version of Rexman is online.

Changes:
* Dynamic resizing of the GUI-components
* Regex cheat-sheet is now onboard - press F1 to view it
* Resultvisualizer gadget is now home-brewn using canvas-gadget - no more web-gadget
* Some bug-fixes

Cheers
Didel.

_________________
Go, tell it on the mountains.


Last edited by Didelphodon on Thu Feb 21, 2013 6:52 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Rexman
PostPosted: Tue Aug 16, 2011 10:45 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 8:51 am
Posts: 1300
Location: Germany: 49º 45' 21.96" N 10º 38' 4.04" E
Great tool, but I miss an OpenFileRequester for loading text files as sample data.

_________________
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
http://chipmunk4purebasic.freeforums.org/index.php


Top
 Profile  
 
 Post subject: Re: Rexman
PostPosted: Tue Aug 16, 2011 11:41 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Dec 18, 2004 11:56 am
Posts: 277
Location: TPM
IceSoft wrote:
Great tool, but I miss an OpenFileRequester for loading text files as sample data.

Good point - thinking about it ...

_________________
Go, tell it on the mountains.


Top
 Profile  
 
 Post subject: Re: Rexman
PostPosted: Wed Aug 17, 2011 12:34 am 
Offline
Addict
Addict

Joined: Fri Oct 23, 2009 2:33 am
Posts: 2865
Location: Wales, UK
Quote:
Great tool, but I miss an OpenFileRequester for loading text files as sample data.


....and for loading complete examples - regex solution for sample data.

How about adding a tab with some guidance on how to build a regex?

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
 
 Post subject: Re: Rexman
PostPosted: Wed Aug 17, 2011 6:38 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 8:51 am
Posts: 1300
Location: Germany: 49º 45' 21.96" N 10º 38' 4.04" E
Hello Didel,

Your new version works very well on my laptop at home but it works not on my office laptop.
(I think the reason is the Regex cheat-sheet)

_________________
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
http://chipmunk4purebasic.freeforums.org/index.php


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 56 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye