Fixing regular expression for version check.

Because /^1.9/ matches not only '1.9.x', but '119' or others, I added escape for regular expression.