@Test public void expr_constructor() { final RegexpExpression expr = new RegexpExpression(Util.constantExpression("foobar"), "(o+)", "$$$0"); assertEquals("regexp(\"foobar\", \"(o+)\", \"$$${0}\")", expr.configString().toString()); }
@Override public StringBuilder configString() { return new StringBuilder() .append("regexp(") .append(expr_.configString()) .append(", ") .append(quotedString(pattern_.pattern())) .append(", ") .append(template_.configString()) .append(')'); }
RegexpExpression implements TimeSeriesMetricExpression { @Override public StringBuilder configString() { return new StringBuilder() .append("regexp(") .append(expr_.configString()) .append(", ") .append(quotedString(pattern_.pattern())) .append(", ") .append(template_.configString()) .append(')'); } }
RegexpExpression implements TimeSeriesMetricExpression { @Override public StringBuilder configString() { return new StringBuilder() .append("regexp(") .append(expr_.configString()) .append(", ") .append(quotedString(pattern_.pattern())) .append(", ") .append(template_.configString()) .append(')'); } RegexpExpression(TimeSeriesMetricExpression expr, Pattern pattern, StringTemplate template);  RegexpExpression(TimeSeriesMetricExpression expr, String regexp, String template); }
RegexpExpression implements TimeSeriesMetricExpression { @Override public StringBuilder configString() { return new StringBuilder() .append("regexp(") .append(expr_.configString()) .append(", ") .append(quotedString(pattern_.pattern())) .append(", ") .append(template_.configString()) .append(')'); } RegexpExpression(TimeSeriesMetricExpression expr, Pattern pattern, StringTemplate template);  RegexpExpression(TimeSeriesMetricExpression expr, String regexp, String template); @Override Collection<TimeSeriesMetricExpression> getChildren(); @Override TimeSeriesMetricDeltaSet apply(Context ctx); @Override int getPriority(); @Override StringBuilder configString(); }
RegexpExpression implements TimeSeriesMetricExpression { @Override public StringBuilder configString() { return new StringBuilder() .append("regexp(") .append(expr_.configString()) .append(", ") .append(quotedString(pattern_.pattern())) .append(", ") .append(template_.configString()) .append(')'); } RegexpExpression(TimeSeriesMetricExpression expr, Pattern pattern, StringTemplate template);  RegexpExpression(TimeSeriesMetricExpression expr, String regexp, String template); @Override Collection<TimeSeriesMetricExpression> getChildren(); @Override TimeSeriesMetricDeltaSet apply(Context ctx); @Override int getPriority(); @Override StringBuilder configString();  }