[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: support figure space (U+2007)
From: |
pertusus |
Subject: |
Re: support figure space (U+2007) |
Date: |
Sun, 16 Jan 2022 18:55:42 +0100 |
On Sun, Jan 16, 2022 at 03:41:24PM +0000, Gavin Smith wrote:
> On Sun, Jan 16, 2022 at 04:13:22PM +0100, pertusus@free.fr wrote:
> > Actually, there is a difference between the C parser and the perl
> > parser, the perl parser consider those spaces as space too, which is not
> > surprising given that \s is used a lot in regexp where the C parser
> > probably check the characters... I will investigate.
>
> The change didn't touch the parser, only HTML.pm, so it's unexpected
> that there should be a difference there.
There is a difference because the perl parser was always incorrect (at
least since \s includes non ascii spaces). In the XS parser whitespace
characters are listed explicitely, in the perl parser it is up to the
definition of perl, so it is in general different without /a nowadays (if
I understand well). So, the perl parser is incorrect since some time,
but there was no example in which there was a difference since it is the
first example with non ascii space. But non ascii spaces here and there
would show the difference between the perl parser and the XS parser.
Anyway I will shortly commit a fix.
--
Pat
- Re: support figure space (U+2007), (continued)
- Re: support figure space (U+2007), Patrice Dumas, 2022/01/03
- Re: support figure space (U+2007), Gavin Smith, 2022/01/14
- Re: support figure space (U+2007), Werner LEMBERG, 2022/01/14
- Re: support figure space (U+2007), Masamichi Hosoda, 2022/01/15
- Re: support figure space (U+2007), Werner LEMBERG, 2022/01/15
- Re: support figure space (U+2007), Gavin Smith, 2022/01/16
- Re: support figure space (U+2007), pertusus, 2022/01/16
- Re: support figure space (U+2007), pertusus, 2022/01/16
- Re: support figure space (U+2007), pertusus, 2022/01/16
- Re: support figure space (U+2007), Gavin Smith, 2022/01/16
- Re: support figure space (U+2007),
pertusus <=
- Re: support figure space (U+2007), Werner LEMBERG, 2022/01/17