fix bug with regexp special characters in URL
change argument name to clearer one
update minified version