RegexBuddy upgraded to v.3.0

Just received a complimentary update from my previous v. 2.3.2 of RegexBuddy to the new v. 3 since I bought it only a short while back. How I love the internet and the level of service provided by all the independent ISV’s. RegexBuddy has quickly become a great and invaluable tool for me as I use regular expressions almost every day. The new version sports a lot of improvements but keeps the low startup time which is crucial for me. A very nice new feature is the history view and the updated look’n’feel. The possibility of setting the regex flavor you are using (e.g. java.util.regex) is very nice too.

RegexBuddy

I’m really in love with regular expression or regex for short and I find myself using them more and more in my day-to-day programming. When writing and testing them I have previously been using on-line tools (like this) but recently I bought RegexBuddy which I can really recommend. It loads fast, makes it easy to write, test, debug regular expressions and copy the regex to the target programming language automatically handling escaping strings for that particular programming language. Nice!

Best 30 Euros I have spent in a while.

Comment SPAM – again…

The easiest way to block comment SPAM is to turn of comments altogether. Another way is to turn of comments to existing posts periodicly which is the way I do it (using a cron job). I’m running Pebble for my blog so disabling comments and trackbacks in bulk is easy using Perl and regular expressions:

perl -pi -e 's/<commentsEnabled>true/<commentsEnabled>false/' `find . -name [0-9]*.xml`
perl -pi -e 's/<trackBacksEnabled>true/<trackBacksEnabled>false/' `find . -name [0-9]*.xml`

This is the same approach as I have been used previously to rename categories.