01:51
<bakkot>
do we think anyone has written code along the lines of /(?<a>x)|\k<a>/ since the introduction of named capturing groups
01:51
<bakkot>
i.e. where there's a named backreference to a capturing group in a different alternative
01:51
<bakkot>
I want to make this illegal for reasons but realized it would technically be a breaking change
01:55
<bakkot>
there's no reason to write this, as I understand things, since the \k can never refer to anything (since you can't match both arms of the disjunction at the same time)
03:40
<devsnek>
it does seem unlikely that code exists in the real world but who knows
03:41
<devsnek>
maybe one of the browsers can do an analytic for it
19:32
<bakkot>
https://github.com/tc39/ecma262/pull/2721