On 2025-01-30 08:13:43 +0100, Johannes Schauer Marin Rodrigues wrote:
> If you look at mailgraph in Trixie, it still uses the same regex:
> 
> https://sources.debian.org/src/mailgraph/1.14-22/mailgraph.pl/#L229

You're looking at the wrong place. It should use the regexp at

https://sources.debian.org/src/mailgraph/1.14-22/mailgraph.pl/#L212

            ($year, $mon, $day, $hour, $min, $sec, $host, $text) = $str =~ /^
                (\d+)-(\d+)-(\d+)T(\d+):(\d+):(\d+)\S+  # datetime
                \s+
                (\S+)                                   # host
                \s+
                (.*)                                    # text
                $/x or do

At least this works for me on bookworm.

> Then look at the patch I provided in my last message. The important part is
> hunk 5 which changes the regex to this one:
> 
>            (\d+)-(\d+)-(\d+)T(\d+):(\d+):(\d+)\S+  # datetime

This is the same as above.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to