Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\n (newline) characters #9

Open
baka44 opened this issue May 8, 2018 · 1 comment
Open

\n (newline) characters #9

baka44 opened this issue May 8, 2018 · 1 comment

Comments

@baka44
Copy link

baka44 commented May 8, 2018

Is there way to rework that regexp:
Net/Jabber/Bot.pm:992
$message_chunk =~ s/[^[:print:]]+/./xmsg;
And include that update on CPAN, something like:
$message_chunk =~ s/[^[:print:]]+/\n/xmsg; #new line usually is more required than dot :)
becouse is the large trouble with adding newlines in message.

@toddr
Copy link
Owner

toddr commented Jan 18, 2020

That is a very messy regex. Probably the whole line needs to be rewritten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants