Module
VCR::Regexes
In:
lib/vcr/util/regexes.rb
Methods
url_regex_for_host_and_path
url_regex_for_hosts
url_regex_for_path
Constants
PROTOCOL
=
'\Ahttps?://'
CREDENTIALS
=
'((\w+:)?\w+@)?'
PORT
=
'(:\d+)?'
THE_REST
=
'/?(\?.*)?\z'
Public Instance methods
url_regex_for_host_and_path
(host, path)
url_regex_for_hosts
(hosts)
url_regex_for_path
(path)
[Validate]