Merge pull request #237 from tomaka/master

Update for Rustc
Remove usage of regex
Merge pull request #240 from tomaka/remove-fucking-regex

Remove usage of regex
Generate strings instead of AST