Fix regex bug.
Merge pull request #27 from vitillo/master

Fix regexp bug. GCC has problems parsing regexes with brackets.