variables: Returns the set of keywords in a uri template

View source: R/variables.R

variablesR Documentation

Returns the set of keywords in a uri template

Description

Returns the set of keywords in a uri template

Usage

variables(x)

Arguments

x

(character) A template

Value

a character vector of keywords

Examples

variables("http:www{.domain*}{/top,next}{?q:20}")
variables("http://www.{domain}/")
variables("find{?year*}")
variables("www{.dom*}")
variables("{x,hello,y}")
variables("{#path:6}/here")
variables("up{+path}{var}/here")

ropenscilabs/urltemplate documentation built on May 18, 2022, 8:33 p.m.