private static String unescape(String s) {
    var matcher = ESCAPED.matcher(s);
    if (matcher.matches()) {
      return matcher.replaceFirst("$1$2");
    }
    return s;
  }
Returns a boolean expression that determines whether a source feature matches a criteria defined in yaml config.

@param <T>              Type of input the expression takes
@param object           a map or list of tag criteria
@param tagValueProducer a TagValueProducer
@return a predicate which returns true if this criteria matches
planetiler-custommap/src/main/java/com/onthegomap/planetiler/custommap/BooleanExpressionParser.java