To support host patterns string should be properly escaped.
Merge pull request #1 from rampire/master

To support host patterns string should be properly escaped.