Make regex filters case insensitive

This commit is contained in:
Shadowfacts 2022-12-05 10:58:49 -05:00
parent d7a37b5c64
commit 86d7ffc7d9
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ defmodule Frenzy.Pipeline.FilterEngine do
end
defp matches(value, "matches_regex", param) do
{:ok, regex} = Regex.compile(param)
{:ok, regex} = Regex.compile(param, "i")
String.match?(value, regex)
end