Adjust indentation
Use parentheses for argument of regular expression literal

This commit removes a ruby's warning.

* "ambiguous first argument; put parentheses or even spaces"
Simplify a regular expression literal

This character class contains dupulicated characters "|"
This commit removes a rubys warning.

* "character class has duplicated range"