fixed issue #5 for square brackets
added words in brackets to regex
updated readme
updated readme