@Test public void akamaiGroup() { ValueFilterRegex vf = new ValueFilterRegex().setPattern(Pattern.compile("Log_([0-9]+)\\.")); ValueObject res = vf.filter(ValueFactory.create("stream: assertTrue(res != null); assertTrue(res.asArray().size() > 0); assertEquals("12345", res.asArray().get(0).asString().toString()); }
public ValueFilterRegex setPattern(Pattern p) { pattern = p; return this; }
ValueFilterRegex extends AbstractValueFilter { public ValueFilterRegex setPattern(Pattern p) { pattern = p; return this; } }
ValueFilterRegex extends AbstractValueFilter { public ValueFilterRegex setPattern(Pattern p) { pattern = p; return this; }  }
ValueFilterRegex extends AbstractValueFilter { public ValueFilterRegex setPattern(Pattern p) { pattern = p; return this; }  ValueFilterRegex setPattern(Pattern p); ValueFilterRegex setReplace(String r); @Override ValueObject filterValue(ValueObject value); }
ValueFilterRegex extends AbstractValueFilter { public ValueFilterRegex setPattern(Pattern p) { pattern = p; return this; }  ValueFilterRegex setPattern(Pattern p); ValueFilterRegex setReplace(String r); @Override ValueObject filterValue(ValueObject value);  }