Sergey G. Brester
Sergey G. Brester
What is your tcl version? What do you see here? ``` $ echo 'set s "中国"; puts [string length $s]\t[llength [split $s ""]]' | tclsh 2 2 $ echo 'set...
Now I understand the issue - it has nothing with the wrong length, it has something with display of the char due to double width in the chosen fixed font...
Proof of why `shiftjis` is not really suitable for transformation here: ```tcl % string length [encoding convertto shiftjis äöü] 3 % string length [encoding convertto shiftjis абв] 6 ``` Basically...
Since there is no appropriate encoding available in tcl by default, 3b56acf09546189da5f6dbf3684ec403175cb009 replaces encoding conversion with regsub (for wide glyphs ranges only). following snippet illustrates the performance losses of the...
from tclchat (IRC): > @andreas-kupries: https://core.tcl-lang.org/tcllib/info/ee19cd9a40041f1c - wcswidth is now 30x faster, and a sub directory contains all the data from my research. For summary just read the README.md (...
> The log format has changed again hence breaking the filter. I don't see it is changed **again**. The filter from https://github.com/fail2ban/fail2ban/issues/2932#issuecomment-777320874 still find a match for your example log...
Yes, there was something... Sorry, still persistently no time for "cosmetic" things (I know it is important, but...). By the way, which kind of docu do you miss exactly? I...
> Is there any progress on this? Progress on what exactly? Can't you use the action? I can surely merge it, just after all one has to wait for new...
> What am I missing? `fail2ban-regex` doesn't expect escape of `%` as dual percent `%%` like in config files, thus use something like: ```bash # with failregex: fail2ban-regex -d '^%m/%d/%y,...
I guess the dot-token in `%%p.%%Z` is misleading - in RE it matches ANY single char, thus: - either escape it with backslash as `%%p\.%%Z` to match the dot character...