if (ch != ')')
throw error(L.l("expected ')'"));
String name = sb.toString();
Integer v = _groupNameReverseMap.get(new ConstStringValue(name));
if (v != null) {
RegexpNode next = new RegexpNode.GroupRef(v);
return concat(tail, parseRec(pattern, next));