REGEXHERO.NET

Sunday, May 16, 2010

Selection Bug Fix when CrLf is Checked

I discovered yesterday that in some cases the wrong text is selected when you're stepping through the matches with the Previous/Next buttons. Specifically it would happen when you're working with multiple lines of text and "CrLf marks a line ending" is checked. I just now fixed the problem so it won't happen again.

Saturday, May 15, 2010

CPU, Memory, and Hard Drive Usage Improvements

I made a few improvements to the application this weekend. I managed to find a more efficient way of doing a few things, eliminating unneeded steps during each regex matching cycle for real-time highlighting. In so doing I've sped it up slightly.

I also found that I was calling the auto-save function a little too frequently so I tweaked the interval settings. That should reduce memory and hard drive usage when working with large target strings.

And lastly I turned on GPU bitmap caching for several elements within the app. GPU acceleration features in Silverlight are still minimal, but this is one thing I'm able to do that actually has some small performance benefits.

New "Regex Hero Pro" Name, and a Lower Price

When I released "Regex Hero for Desktop" several months ago I had named it the way I did because I was inspired by Balsamiq Mockups for Desktop.

In fact Regex Hero shares a lot in common with Balsamiq the way we both started. I mean, obviously their app is a prototyping tool and mine is a regex tool. But Regex Hero is supported and maintained by just one man (me), as was Balsamiq back in the day. And they have a killer web app that thousands of people use, as do I. ;)

However, I've come to realize that while I do admire Balsamiq and just about everything they do, my app is just not the same. You see, Regex Hero is actually very usable on the web. And when you buy it, you get an account and license key which then allows you to use all of the features all within the web version. You can then optionally install the desktop version and get all of those same features.

So because the paid version can be run with the same feature sets inside or outside of the browser, calling it "Regex Hero for Desktop" is really a misnomer. So I've renamed it, "Regex Hero Pro." I think everyone understands that professional versions of an application are true supersets of the lesser version and I'm a little happier with this name.

The other thing I had changed earlier this year was the price. Originally I sold Regex Hero for $15. After I added some functionality I upped the price to $20 in March. But since that increase in price, sales have dwindled. Pricing is hard, it turns out. So I've set the price back to $15.

Friday, May 14, 2010

Silverlight 4 Adoption Rate Approaching 25%

A week before Silverlight 4 came out I added some Javascript to the tester page to track what version of Silverlight everyone was running and feed it into Google Analytics.

Silverlight 4 is still very new of course but I think it is interesting how many Regex Hero users have already upgraded. The adoption rate here is much higher than the stats from riastats.com would suggest (which of course spans a large variety of sites).

Here's a screenshot from Google Analytics showing the breakdown of Silverlight versions on regexhero.net/tester/ during the past 2 weeks:
Silverlight 4 Adoption Rate
"Silverlight 0" was my way of saying Silverlight is not installed.

Regex Hero is still built on Silverlight 3. But I'm going to begin working on some major improvements to Regex Hero in the upcoming weeks. Silverlight 4 is going to allow me to add some awesome features that I'm looking forward to. And my plan at the moment is to launch the new Silverlight 4 version when the adoption rate surpasses 80%.

If you want to see the new version of Regex Hero make sure you get the latest version of Silverlight. The sooner everyone upgrades the sooner I can launch. ;)

Monday, May 10, 2010

New Video Lessons

I began a new series of video lessons explaining the basics of regular expressions. I'm trying to be thorough in each lesson without talking about concepts that'll be learned in later lessons (a more difficult task than I expected).

I have 3 so far, and I'll add to this list as I go:

Thursday, May 6, 2010

More Code Hinting Bug Fixes

I discovered a couple of bugs with the code hinting this week.
  1. In some cases when you have constructs with a slash such as \d and \w at the beginning and end of an expression, then the code hinting for the parenthesis wouldn't work properly in the middle of the expression.
  2. If you type out the first few characters of an expression and then select it from the code hinting list, it wouldn't always put the caret in the right spot. Again this was most often seen when typing in the middle of the expression.
I'm glad to say that both of these issues are now fixed.

Sunday, May 2, 2010

Improvements to the Library

Ah yes, the library. The library only has 13 regular expressions in it at the moment. So I've been working on making it more compelling to contribute.

A couple weeks ago I added a tagging system and incorporated a faceted search engine for the library visible from the website.

Library Faceted Search

Only I have control over the tags for now as I'm still building out all of the interfaces. But this is one way to filter the regular expressions that I'll be relying on heavily as the list grows.

Then just this weekend I refined the list inside the tester itself (soon I'll add tags and sorting to this as well):
Public Library

And I built out a voting mechanism:
Library Voting

The voting mechanism will only appear for regular expressions out of the public library that are not your own. And it'll slide away after you vote. This should make it much more convenient to vote, and hopefully more compelling for developers to contribute as a result.

Coming up next I'll have a points and badges system in place. You may notice a trend here. These are all very StackOverflow-like community features. I'm certainly not trying to compete with StackOverflow. I mean, my site is not a Q&A site. But I do like the way they do quite a lot of things. They've done a great job at making it fun to help people. So I'm hoping to accomplish something similar. In the end, the more quality regular expressions we have in the library, the more useful it'll be. So I think it only makes sense for me to build out a good system to handle it. And then I've been toying with the idea of creating a contest to encourage more community involvement. Stay tuned for updates.