Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Regex tool - new build

Tonight I've uploaded a new build of the regex tool which can be downloaded from here:

www.flws.com.au/showusyourcode/MarkItUp.RegexSnippets.zip

The new build displays the length of each Match and the length of each Group within a Match.  This is useful if you are matching and capturing whitespace.

I also fixed some bugs in the Saving features.

What I'd like to do is to "tag" a GroupInfo object to each cell and allow the user to get information about the Group when they click on the cell by binding the tag'ged GroupInfo instance to the Property Grid.  Alas I don't think that I can achieve this with the ListView that I've used for the grid.  I'll probably need to look at using a DataGrid to do this.  I had initially steered away from using a DataGrid because of the fact that I'm binding to a source that is jagged and I've *presumed* that DataGrid's are only useful when working with a square (2 dimensional) matrix of data.

Either way, the next versioon will provide better support for retrieving Group info as well as some useful help information regarding the syntax.

 

No Comments