Skip to content

Commit

Permalink
Merge pull request #190 from mP1/feature/mP1-walkingkooka-pull-2822-G…
Browse files Browse the repository at this point in the history
…lobPattern-parse-escape-char-parameter-removed

mP1/walkingkooka#2822 GlobPattern.parse escap…
  • Loading branch information
mP1 authored Nov 2, 2024
2 parents 3b2fdc6 + 117325b commit c7fa5f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ public Boolean apply(final List<Object> parameters,

return Predicates.globPatterns(
pattern,
CaseSensitivity.INSENSITIVE,
'\\'
CaseSensitivity.INSENSITIVE
).test(text);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private static Predicate<Object> criteriaFilter(final String value,
private static Predicate<Object> equalsString(final String expression,
final SpreadsheetExpressionEvaluationContext context) {
return (v) ->
CaseSensitivity.SENSITIVE.globPattern(expression, '~')
CaseSensitivity.SENSITIVE.globPattern(expression)
.test(
context.convertOrFail(
context.evaluate(
Expand Down

0 comments on commit c7fa5f4

Please sign in to comment.