Skip to content

Commit

Permalink
Tweak MaybeSimpleCaseFolding per @waldemarhorwat’s suggestions (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens authored Mar 22, 2022
1 parent d0fd9b7 commit fb1ec2d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -36377,13 +36377,12 @@ <h1>
</dl>
<emu-alg>
1. If _UnicodeSets_ is *false* or _IgnoreCase_ is *false*, return _A_.
1. Let _S_ be a copy of _A_.
1. Let _S_ be an empty CharSet.
1. For each CharSetElement _cs_ of _A_, do
1. Let _t_ be an empty sequence of characters.
1. For each single code point _c_ in _cs_, do
1. Append scf(_c_) to _t_.
1. If _t_ is different from _cs_, then
1. Remove _cs_ from _S_.
1. If _S_ does not contain _t_, then
1. Add _t_ to _S_.
1. Return _S_.
</emu-alg>
Expand Down

0 comments on commit fb1ec2d

Please sign in to comment.