Regex improvement

- old regex replaces on POSIX bracket classes

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# Committer: Ivan Zabrovskiy <ivan@acs-po-35.elins.internal>
#
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#	new file:   .idea/.name
#	new file:   .idea/.rakeTasks
#	new file:   .idea/encodings.xml
#	new file:   .idea/misc.xml
#	new file:   .idea/modules.xml
#	new file:   .idea/naturally-utf8.iml
#	new file:   .idea/scopes/scope_settings.xml
#	new file:   .idea/vcs.xml
#	new file:   .idea/workspace.xml
#	modified:   lib/naturally.rb
#