Jump to content
Sign in to follow this  
Mat

RegEx tester

Recommended Posts

Mat

Its been done many many times before, I've been using Lazycats one (here) for a while now, and occasionally this one, but I decided that I wanted another one.

The main things that this one does and Lazycats doesn't is make use of the offset of the pattern error returned through @Extended. Mine shows a small "^" below the offset, making it easier in long patterns. It also uses controls other than an edit: Radio's, listboxes and a listview for option 4 (Still an edit for Replace mode). To select the option simply change the tab.

I can't seem to be able to create listview columns, so used 100 cols setting unused ones width to 0.

Screenshot:

Posted Image

download link:

http://m-a-t.googlecode.com/files/StringRegExTester.zip

Mat

  • Like 1

Share this post


Link to post
Share on other sites
MerkurAlex

Nicely done very useful thanks.


[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Share this post


Link to post
Share on other sites
wraithdu

Will test soon. In the meantime, tried this one?

http://www.autoitscript.com/forum/index.php?showtopic=79685

Edited by wraithdu

Share this post


Link to post
Share on other sites
MerkurAlex

No I have not seen any bugs yet :)


[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Share this post


Link to post
Share on other sites
Mat

Will test soon. In the meantime, tried this one?

No I haven't... Just looking through it now and it seems to have a few nice bits. The "Generate StringRegExp code" button is a very good idea, so I might add something like that.

Mat

Share this post


Link to post
Share on other sites
Mison

Well done Mat. :)

I have a suggestion(request??;)). How about adding "Presets" item into the Regex Pattern? A list of some of the most common regular expression patterns, such as <[^>]+> (html tag).

Just my two cents.

Edited by Mison

Hi ;)

Share this post


Link to post
Share on other sites
Mat

Well done Mat. :)

I have a suggestion(request??;)). How about adding "Presets" item into the Regex Pattern? A list of some of the most common regular expression patterns, such as <[^>]+> (html tag).

Just my two cents.

Yep, I'm also going to do a sort of save function. I'm thinking of using a combobox for it, kinda like a suggestions box, I will play around with it.

Mat

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.