Skip to content

Commit

Permalink
More zero-width spaces to hide /* and */ in API comment
Browse files Browse the repository at this point in the history
Fixes #92
  • Loading branch information
pcantrell committed Aug 28, 2016
1 parent bee589f commit 94a4cbc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Source/Siesta/ConfigurationPatternConvertible.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ extension String: ConfigurationPatternConvertible
The pattern supports three wildcards:
- `*` matches zero or more characters within a path segment.
- `**` matches zero or more characters across path segments, with the special case that `/**/` matches `/`.
- `**` matches zero or more characters across path segments, with the special case that `/​**​/` matches `/`.
- `?` matches exactly one character within a path segment, and thus `?*` matches one or more.
Examples:
- `/foo/*/bar` matches `/foo/1/bar` and `/foo/123/bar`.
- `/foo/**/bar` matches `/foo/bar`, `/foo/123/bar`, and `/foo/1/2/3/bar`.
- `/foo*/bar` matches `/foo/bar` and `/food/bar`.
- `/foo/​*` matches `/foo/123` and `/foo/`.
- `/foo/​*​/bar` matches `/foo/1/bar` and `/foo/123/bar`.
- `/foo/​**​/bar` matches `/foo/bar`, `/foo/123/bar`, and `/foo/1/2/3/bar`.
- `/foo*/bar` matches `/foo/bar` and `/food/bar`.
- `/foo/​*` matches `/foo/123` and `/foo/`.
- `/foo/?*` matches `/foo/123` but _not_ `/foo/`.
The pattern ignores the resource’s query string.
Expand Down

0 comments on commit 94a4cbc

Please sign in to comment.