fix regexp error for ruby-parser - close #50