You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The do_say function passes double quotes to notify_except in unicode. This makes it hard (impossible?) to match against the double quote produced by do_say in mushcode. I was able to proove the issue by replacing the unicode double quote with a simple escaped double quote in the do_say function.
It should be feasible to match the unicode dquote in the regex, but I'd have to look up the syntax-- so yes, hard.
I'm thinking these should probably regex match on NFKC normalized versions, but that isn't likely a sane default, and is rather nontrivial without libicu...
Alternatively, regex character classes (e.g. [:quote:] or something) might handle this reasonably gracefully.
Mushcode:
&foo object = ^":say # %1
@set object = monitor
Example:
say foo <-- doesn't match
say foo " bar <-- matches
The text was updated successfully, but these errors were encountered: