/* * Sets the capacity of the regexp cache. */ public void setRegexpCacheSize(int size) { RegexpModule.setRegexpCacheSize(size); }
public Object marshal(Env env, Value value, Class expectedClass) { return RegexpModule.createRegexpArray(env, value); }
/* * Gets the max size of the regexp cache. */ public int getRegexpCacheSize() { return RegexpModule.getRegexpCacheSize(); }
public Object marshal(Env env, Expr expr, Class expectedClass) { return RegexpModule.createRegexpArray(env, expr.eval(env)); }