class Addressable::Template

def to_regexp

Returns:
  • (Regexp) - A regular expression which should match the template.
def to_regexp
  _, source = parse_template_pattern(pattern)
  Regexp.new(source)
end