Skip to content

Commit 6743297

Browse files
Ms2gerannevk
authored andcommitted
Allow identifiers that start with a hyphen
Fixes #564.
1 parent c898be5 commit 6743297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13548,7 +13548,7 @@ expression syntax [[!PERLRE]]) as follows:
1354813548
<tr>
1354913549
<td id="prod-identifier"><emu-t class="regex">identifier</emu-t></td>
1355013550
<td><code>=</code></td>
13551-
<td><code class="regex"><span class="mute">/</span>_?[A-Za-z][0-9A-Z_a-z-]*<span class="mute">/</span></code></td>
13551+
<td><code class="regex"><span class="mute">/</span>_?[A-Za-z-][0-9A-Z_a-z-]*<span class="mute">/</span></code></td>
1355213552
</tr>
1355313553
<tr>
1355413554
<td id="prod-string"><emu-t class="regex">string</emu-t></td>

0 commit comments

Comments
 (0)