From 4ecfdbfbe77625ee424b64d6493aec99edfecc5a Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 28 Aug 2024 13:56:03 -0700 Subject: [PATCH] [spec] more PR feedback --- spec.emu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.emu b/spec.emu index 0fca02d..10a0f72 100644 --- a/spec.emu +++ b/spec.emu @@ -31,7 +31,7 @@ contributors: 1. Let _escaped_ be the empty String. 1. Let _cpList_ be StringToCodePoints(_S_). 1. For each code point _c_ of _cpList_, do - 1. If _escaped_ is the empty String, and _c_ is matched by |DecimalDigit| or |AsciiLetter|, then + 1. If _escaped_ is the empty String and _c_ is matched by either |DecimalDigit| or |AsciiLetter|, then 1. NOTE: Escaping a leading digit ensures that output corresponds with pattern text which may be used after a `\0` character escape or a |DecimalEscape| such as `\1` and still match _S_ rather than be interpreted as an extension of the preceding escape sequence. Escaping a leading ASCII letter does the same for the context after `\c`. 1. Let _numericValue_ be the numeric value of _c_. 1. Let _hex_ be Number::toString(𝔽(_numericValue_), 16).