Skip to main content

Exciting Things to Come: My To Do List

I still have a lot planned for Regex Hero so I thought I'd take the opportunity to share it all.

Display Match Groups (Completed)
This was an idea by controlgeek that I plan to implement. Soon Regex Hero will optionally display the matched text from all groups (if any) as well as their corresponding group names. Technically this is easy to do but I just have to plan the UI carefully.

Tab Support (Completed)
I've made a number of customizations to the textboxes in Regex Hero already. But one thing that still bugs me is the way tabs work inside the textboxes. Whenever you hit tab, it skips to the next textbox. So you can't easily type a tab into a textbox. So I plan to fix that, and while I'm at it I want to find a way to tab multiple lines simultaneously. This is a feature common to most text editors nowadays so it's about time I catch up.

Regular Expression Highlighting (Completed)
I want to add some simple highlighting to the regular expressions. The character classes, groups, and comments all need distinct color coding. I also want to give some indication of the location of corresponding parenthesis. So when you place your cursor next to one parenthesis it'll highlight the other.

Code hinting (an Intellisense-like feature) (Completed)
I love Intellisense, as I'm sure most .NET developers do. I had the thought a few weeks ago that it might be possible to incorporate Intellisense-like functionality for the regular expression language. For example, I see this being helpful for many of the constructs that start with a parenthesis. Named groups, lookarounds, and even comments start with a parenthesis.

Built-in Tutorials
This is a big one. I want to develop a recording system that I can use to record mouse input, keyboard input, and my voice. Then I can create tutorials that are built into Regex Hero. I'll start off with more basic tutorials of course. But essentially you would select a tutorial to play, and then Regex Hero would automatically shrink to a fixed size (for coordinate-matching purposes) and you would see me take over the app, explaining everything as I do it. The benefit of doing it this way is that you can pause and interrupt the tutorial at any point. Having this ability means you can experiment with the app even if the virtual version of myself was in the middle of typing out a regular expression.

Desktop Version (Completed)
Silverlight 3 introduced the ability to run a Silverlight application out of the browser. However, Visual Studio 2010 is still in Beta. And from a practical standpoint I don't think it would be wise to release a Silverlight 3 or 4 version of Regex Hero built in a beta development environment. But when the new Visual Studio comes out I'll release a new version of Regex Hero that can run on your desktop for licensed users.

That's everything on my to do list as of now. I'm always coming up with new stuff to add or improve. Some of these things will take a lot of work. But I'm pretty excited about getting it all done and scratched off the list. Oh, and keep the suggestions coming.

In other news, 91 people have created Regex Hero accounts now. That means there's just 9 to go before it goes on sale. If you haven't signed up yet, read here for details.

Update: The 100 License Giveaway Is Over: Thank You Early Adopters


Popular posts from this blog

Regex Hero for Windows 10 is Underway

Awhile back I began working on an HTML5 / JavaScript version of Regex Hero . However, it was a huge undertaking essentially requiring a complete rewrite of the entire application. I have not had enough time to dedicate to this lately. So I've begun again, this time rewriting Regex Hero to work in WPF. It'll be usable in Windows 10 and downloadable from the Microsoft Store. This is a much easier task that also has the advantage of running the .NET regex library from the application itself. This will allow for the same speedy experience of testing your regular expressions and getting instant feedback that Regex Hero users have always enjoyed. I expect the first release to be ready in Q4 of 2019.

Installer for Desktop version of Regex Hero

As Firefox just dropped support for Silverlight I really needed a solution for Regex Hero. So I created an installer for it. It's still Silverlight, but by using the installer you can install it directly to your computer and never need to open it in a browser. If you visit and don't have a browser that supports Silverlight (IE is the only one left), then you'll see download links for 64-bit and 32-bit versions of the installer. When you install it you'll see a link over on the right hand side that says "Activate Regex Hero". This process connects your desktop version of Regex Hero with your online account. So if you're a licensed user this is how you'll gain access to all of those licensed features. Note: Currently there will be a security warning when you try to run either one of these installers. I'm in the process of obtaining a code signing certificate and will update them as soon as possible. You may be wondering a

Optimizing Your Regular Expressions

Regular expressions will backtrack.  That's an unfortunate thing about them because backtracking can be slow.    And in certain (rare) cases the performance can become so awful that executing the regular expression against a relatively short string could take over a minute.  There's a good article about catastrophic backtracking over at . And today I created a video about all of this called  Regex Lesson 5: Optimization .  In the video I start with a very poorly written regular expression and make several improvements to it, using the benchmarking feature along the way.  By the end of the video I make the regular expression over 3 million times faster. In addition, today's update to Regex Hero provides a little message in the event that you encounter a regular expression that takes over 10 seconds to evaluate... And then last of all, I changed the benchmarking feature a bit.  In the past it would simply test your regular expression against