Customized Ruby Blue Theme for Notepad++

I’ve been a big fan of Notepad++ for quite a while, but it wasn’t until I discovered the Ruby Blue theme that I totally fell in love.

Ruby Blue was originally designed for TextMate, the leading text editor for the Mac OS, and was modeled after the code sections of http://ruby-lang.org.

rubyblue

I’ve always had a thing for the color blue, and Ruby Blue’s combination of muted blue-tone colors and eye-catching highlights for reserved words and operators looked simply perfect to my eyes.

The latest versions of Notepad++ comes with a bunch of themes, and Ruby Blue is one of them. But the problem with the default theme is that the syntax highlighting is strangely missing for most of the popular languages (i.e. C/C++, Java, Perl, etc).

So I tweaked it around a bit to include these missing languages… and it’s looking good so far!

If you’d like to give it a try, you can download it here: Ruby New

Advertisements

RegEx: How to write Regular Expressions

There is this nifty feature in Unix-based systems called “regex”, which is an abbreviation of the world “Regular Expressions” (here is a Wikipedia article on it).

Basically, it is “a string that describes or matches a set of strings, according to certain syntax rules”.

Regex had always been one of my weaknesses, but hopefully I’ll be cured of it soon, as I’ve found a very good guide here (Mozilla Developer Center).

Now, if I can just get over my laziness and take the time to read through it…

Update: I’ve just found another fantastic resource, this time an entire site dedicated to RegEx!