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