diff --git a/src/main/java/walkingkooka/spreadsheet/expression/function/SpreadsheetExpressionFunctionBooleanTextMatch.java b/src/main/java/walkingkooka/spreadsheet/expression/function/SpreadsheetExpressionFunctionBooleanTextMatch.java index e7d561b..d9f2aa5 100644 --- a/src/main/java/walkingkooka/spreadsheet/expression/function/SpreadsheetExpressionFunctionBooleanTextMatch.java +++ b/src/main/java/walkingkooka/spreadsheet/expression/function/SpreadsheetExpressionFunctionBooleanTextMatch.java @@ -52,8 +52,7 @@ public Boolean apply(final List parameters, return Predicates.globPatterns( pattern, - CaseSensitivity.INSENSITIVE, - '\\' + CaseSensitivity.INSENSITIVE ).test(text); } diff --git a/src/main/java/walkingkooka/spreadsheet/expression/function/SpreadsheetExpressionFunctionNumberIfPredicate.java b/src/main/java/walkingkooka/spreadsheet/expression/function/SpreadsheetExpressionFunctionNumberIfPredicate.java index eacc059..1a2e369 100644 --- a/src/main/java/walkingkooka/spreadsheet/expression/function/SpreadsheetExpressionFunctionNumberIfPredicate.java +++ b/src/main/java/walkingkooka/spreadsheet/expression/function/SpreadsheetExpressionFunctionNumberIfPredicate.java @@ -159,7 +159,7 @@ private static Predicate criteriaFilter(final String value, private static Predicate equalsString(final String expression, final SpreadsheetExpressionEvaluationContext context) { return (v) -> - CaseSensitivity.SENSITIVE.globPattern(expression, '~') + CaseSensitivity.SENSITIVE.globPattern(expression) .test( context.convertOrFail( context.evaluate(