Add replace for graphite's {a,b} regular expressions.

Should fix #26
Merge pull request #27 from vladimir-smirnov-sociomantic/minor_fixes

Add replace for graphite's {a,b} regular expressions.