Removed regular expression and use url.parse for the url.

Fixed a small bug regarding the path in `askYoutrack`.