Fixed case with optional quantifiers at the end of the regex
Merge branch 'master' of github.com:cesanta/slre