Skip to content

Commit

Permalink
fix: regex match on Scala 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
johanandren committed Mar 27, 2023
1 parent 9a697cc commit 5bd4352
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ import akka.stream.stage.StageLogging

if (excludePersistenceIds.contains(pid) || excludeRegexEntityIds.exists {
case (_, regex) =>
regex.matches(entityId)
regex.pattern.matcher(entityId).matches()
}) {
includePersistenceIds.contains(pid)
} else {
Expand Down

0 comments on commit 5bd4352

Please sign in to comment.