Warning: session_start(): open(/var/lib/php/sessions/sess_0aj8p2spghnpavodeddd8s2h5c, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
sbool flexMatchIC_iterate_debug;
sbool flexMatchIC_iterate_useTokenization;
svoid flexMatchIC_iterate(S pat, S input, VF1 onMatch) {
if (flexMatchIC_iterate_debug)
print("flexMatchIC_iterate " + pat + " / " + input);
flexMatchIC_iterate(pat, javaTokNPunctuation_plusAsterisk(pat), javaTokNPunctuation_plusAsterisk(input), onMatch);
}
svoid flexMatchIC_iterate(S pat, LS tokPat, LS tokInput, VF1 onMatch) {
L varIndices = flexMatchIC_getVarIndices(tokPat, tokInput);
if (varIndices == null) ret;
if (flexMatchIC_iterate_debug)
printStructs(+varIndices, +tokPat, +tokInput);
LL spreadInputs = ai_spreadCertainIndices_2(tokPat, tokInput, varIndices);
for (L tok : spreadInputs) {
if (flexMatchIC_iterate_debug)
print("Testing spread input: " + sfu(tok));
new Matches m;
if (flexMatchIC_iterate_useTokenization
? match3(tokPat, tokInput, m)
: match(pat, tok, m))
callF(onMatch, m);
}
}