diff options
Diffstat (limited to 'lib/URL/Grammar.pm6')
-rw-r--r-- | lib/URL/Grammar.pm6 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/URL/Grammar.pm6 b/lib/URL/Grammar.pm6 index 2f5cd45..e14f2a4 100644 --- a/lib/URL/Grammar.pm6 +++ b/lib/URL/Grammar.pm6 @@ -21,7 +21,7 @@ token password { <-[ @ ]>+ } token host { <hostname> [ ":" <port> ]? } token hostname { [ <-[ / : # ? \h ]>+ | "[" <-[ \] ]>+ "]" ] } token port { \d ** 1..5 } -token path { "/" <part=.path-part>* % "/" } +token path { "/" <part=.path-part>* %% "/" } token path-part { <-[ / ? # ]>+ } token query { <part=.query-part>* % "&" } token query-part { <key=.query-part-key> "=" <value=.query-part-value> } @@ -33,7 +33,7 @@ token fragment { <-[ \s ]>+ } =NAME URL::Grammar =AUTHOR Patrick Spek <p.spek@tyil.work> -=VERSION 0.2.0 +=VERSION 0.2.1 =head1 Synopsis |