Commit 27154374 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Correct regexp.

parent e20865f3
......@@ -128,7 +128,7 @@ sub wrap_text {
Language => Sympa::Language->instance->get_lang,
OutputCharset => (Encode::is_utf8($text) ? '_UNICODE_' : 'utf8'),
Prep => 'NONBREAKURI',
prep => [qr{\b$email_re\b}, sub { shift; @_ }],
prep => [$email_re, sub { shift; @_ }],
ColumnsMax => $cols
)->fold($init, $subs, $text);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment