I hereby claim:
- I am gabe on github.
- I am gabrielboyer (https://keybase.io/gabrielboyer) on keybase.
- I have a public key whose fingerprint is D00E C606 AB86 4BBA EE3B F8F6 1BF4 C523 99C7 6BA5
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
private static readonly Regex ExpressionArgumentPattern = new Regex(@" | |
^ | |
\s* | |
(?<SelectorType>Current|SiteMarker) # Match one of these selector types. | |
\s* | |
(= | |
\s* | |
(?<SelectorArgument>.+?) # Optionally match a selector argument (one or more of any character, non-greedy). | |
)? | |
( |
require 'addressable/template' | |
module Juxt | |
module Sinatra | |
# Allows for declared, named URI Templates in Sinatra applications, | |
# for both routing and URI generation. | |
# | |
# The URI generation method (included as a Sinatra helper) modifies | |
# the path of generated URIs with request.script_name, meaning the | |
# URIs generated will still be valid if multiple Sinatra applications |