net-imap icon indicating copy to clipboard operation
net-imap copied to clipboard

Warning: "historical binary regexp match /.../n against UTF-8 string"

Open nevans opened this issue 9 months ago • 0 comments

Seeing the following in logs:

warning: historical binary regexp match /.../n against UTF-8 string

This is triggered when UTF-8 strings that are not ascii_safe? are checked with the /[\r\n]/n regexp in send_string_data(str, tag) (command_data.rb:57).

Other than adding noise to the logs, I don't know if it makes any significant difference. If we were looking at MatchData, it would matter... but here we're just looking at match?.

See also: https://bugs.ruby-lang.org/issues/19767 and the commit links in the comments there.

nevans avatar Nov 06 '23 15:11 nevans