Failure in key() function (originally from David Carlisle's HTML parser)
#2 Updated by Michael Kay 3 months ago
The problem appears to be that the value of regex-group() does not survive the creation of a new dynamic context by the "/" operator.
The code for the slash operator (Expr.forEach) does
const c2 = context.newContext(false); c2.focus = Iter.Tracker(arg(context));
but the regex groups are held in c2.focus.regexGroups, which is not preserved by these instructions.
Please register to edit this issue