Skip to content

Commit

Permalink
update glossary to properly document greedy string matching (remix-ru…
Browse files Browse the repository at this point in the history
  • Loading branch information
ybot1122 authored and timdorr committed Apr 21, 2016
1 parent 52c268d commit 70c23b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/Glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ A *route pattern* (or "path") is a string that describes a portion of a URL. Pat
- `:paramName` – matches a URL segment up to the next `/`, `?`, or `#`. The matched string is called a [param](#params)
- `()` – Wraps a portion of the URL that is optional
- `*` – Matches all characters (non-greedy) up to the next character in the pattern, or to the end of the URL if there is none, and creates a `splat` [param](#params)
- `**` - Matches all characters (greedy) until the next `/`, `?`, or `#` and creates a `splat` [param](#params)
Route patterns are relative to the pattern of the parent route unless they begin with a `/`, in which case they begin matching at the beginning of the URL.
Expand Down

0 comments on commit 70c23b4

Please sign in to comment.