Warning: session_start(): open(/var/lib/php/sessions/sess_e7olvugp4q6i4iu6d5ej798ifa, 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
// This function supports all the special stuff like
static bool jMatchStart(S pat, S s) {
return jMatchStart(pat, s, null);
}
// matches are as you expect, plus an extra item for the rest string
static bool jMatchStart(S pat, S s, Matches matches) {
if (s == null) false;
ret jMatchStart(pat, javaTok(s), matches);
}
sbool jMatchStart(S pat, LS toks) {
ret jMatchStart(pat, toks, null);
}
sbool jMatchStart(S pat, LS toks, Matches matches) {
L tokpat = jfind_preprocess(javaTok(pat));
if (toks.size() < tokpat.size()) ret false;
S[] m = match2x(tokpat, toks.subList(0, tokpat.size()));
if (m == null) false;
if (matches != null) {
matches.m = new S[m.length+1];
arraycopy(m, matches.m);
matches.m[m.length] = join(toks.subList(tokpat.size(), toks.size())); // for Matches.rest()
}
true;
}