diff options
author | David Phillips <david@yeah.nah.nz> | 2018-12-08 23:22:55 +1300 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2018-12-08 23:22:55 +1300 |
commit | e55495fcd2b696b3d805670344f97ec3a2da653a (patch) | |
tree | 6483aba09956b47a36becf28621b89b1f7a71473 | |
parent | 2ad7b318a64161d80f8340c2e83c0ba3e1c52e43 (diff) | |
download | idalius-e55495fcd2b696b3d805670344f97ec3a2da653a.tar.xz |
Disallow general regex for ignores
-rwxr-xr-x | idalius.pl | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -182,6 +182,7 @@ sub should_ignore { my ($who) = @_; for my $mask (@{$config->{_}->{ignore}}) { my $expr = $mask; + $expr =~ s/([^[:alnum:]\*])/\\\1/g; $expr =~ s/\*/.*/g; if ($who =~ /^$expr$/) { return 1; |