-
Notifications
You must be signed in to change notification settings - Fork 12
Add FAQ entry on differences between v
and u
#63
Conversation
A prose summary of this would be awesome to include non-normatively in the actual spec as well, kind of like Annex E (but obv nonbreaking). |
Co-authored-by: Markus Scherer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm tnx!
[>>] | ||
[??] | ||
[@@] | ||
[^^] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gibson042 @markusicu @macchiati @pthier Is /[^^]/v
actually an error? I noticed the current V8 implementation allows it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO it isn't, as the first ^
is consumed by the production CharacterClass :: [ ^ ClassContents ]
, so the remaining ^
is not a reserved double punctuator. [^^^]
is an error in V8.
Note that also []]
is not a breaking change, as this is an error also with /u
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess [_^^]
or, indeed, [^^^]
is a better example. I’ll change this. Thanks!
[]]
is currently not listed as a breaking change, so I think there’s no action to be taken for that one. Let me know if I misunderstood.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR: #74
This would be useful to reference in integration PRs like whatwg/html#7908.