Skip to content

Commit 8fe7474

Browse files
committed
Close webspecs#32 and fix place where full stop was mistakenly identified as U+002D (HYPHEN-MINUS)
1 parent 8d7a841 commit 8fe7474

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

url.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ Sequence:
864864
A scheme consists of an <a>ASCII alpha</a>,
865865
followed by zero or more <a>ASCII alpha</a> or any of the following
866866
code points: hyphen-minus (<code>U+002D</code>), plus sign (<code>U+002B</code>) or full stop
867-
(<code>U+002D</code>).
867+
(<code>U+002E</code>).
868868
Return the results as a lowercased string.
869869

870870
<h4 id=rule-authority class=no-toc>authority(input)</h4>
@@ -1189,7 +1189,7 @@ Sequence:
11891189
</pre>
11901190

11911191
Return four decimal <a title='IPv4 piece'><code>8</code>-bit pieces</a> separated by full
1192-
stop code points as a string.
1192+
stop (U+002E) code points as a string.
11931193

11941194
<h4 id=rule-decimal-byte class=no-toc>decimal-byte(input)</h4>
11951195

url.pegjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ NonFileRelativeScheme
479479
A scheme consists of an <a>ASCII alpha</a>,
480480
followed by zero or more <a>ASCII alpha</a> or any of the following
481481
code points: hyphen-minus (U+002D), plus sign (U+002B) or full stop
482-
(U+002D).
482+
(U+002E).
483483
Return the results as a lowercased string.
484484
*/
485485
Scheme
@@ -916,7 +916,7 @@ H16
916916
returns: String
917917
918918
Return four decimal <a title='IPv4 piece'>8-bit pieces</a> separated by full
919-
stop code points as a string.
919+
stop (U+002E) code points as a string.
920920
*/
921921
LS32
922922
= a:DecimalByte '.' b:DecimalByte '.' d:DecimalByte '.' d:DecimalByte

0 commit comments

Comments
 (0)