Make regex filters case insensitive
This commit is contained in:
parent
d7a37b5c64
commit
86d7ffc7d9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue