Fix RegExp crash

See http://rainmeter.net/forum/viewtopic.php?f=14&t=19573
Merge pull request #32 from Jon12345/master

Fix RegExp crash