Warning: session_start(): open(/var/lib/php/sessions/sess_fh5hggnafp7idsji0qbh9illv9, 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
static S expandDollarRefsToMatches(S s, Matches m) {
ret expandDollarRefsToMatches(s, m, false);
}
static S expandDollarRefsToMatches(S s, Matches m, bool alwaysQuote) {
L tok = javaTok(s);
for (int i = 1; i < l(tok); i += 2) {
S t = tok.get(i);
if (!t.startsWith("$")) continue;
t = dropFirst(t);
int j = parseIntAtEnd(t);
if (j < 1) continue;
S x = get(m.m, j-1);
if (x == null) continue;
if (alwaysQuote || startsWith(t, "q"))
x = quote(x);
tok.set(i, x);
}
ret join(tok);
}