Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
7b374711
Commit
7b374711
authored
Apr 21, 2022
by
IKEDA Soji
Browse files
blocklist sensitive to spurious whitespace (#1377)
parent
b17e3bb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Scenario.pm
View file @
7b374711
...
...
@@ -1445,7 +1445,9 @@ sub do_search {
}
while
(
my
$pattern
=
<
$ifh
>
)
{
next
if
$pattern
=~
/\A\s*\z/
or
$pattern
=~
/\A[#;]/
;
chomp
$pattern
;
$pattern
=~
s/\A\s+//
;
$pattern
=~
s/\s+\z//
;
$pattern
=~
s/([^\w\x80-\xFF])/\\$1/g
;
$pattern
=~
s/\\\*/.*/
;
if
(
$sender
=~
/^$pattern$/i
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment