[Python-Dev] Re: Adding new escapes to regex module

2022-08-17 Thread MRAB
On 2022-08-17 17:34, MRAB wrote: On 2022-08-17 08:25, Serhiy Storchaka wrote: 16.08.22 23:24, MRAB пише: Other regex implementations have escape sequences for horizontal whitespace (`\h` and `\H`) and vertical whitespace (`\v` and `\V`). The regex module already supports `\h`, but I can't

[Python-Dev] Re: Adding new escapes to regex module

2022-08-17 Thread MRAB
On 2022-08-17 08:25, Serhiy Storchaka wrote: 16.08.22 23:24, MRAB пише: Other regex implementations have escape sequences for horizontal whitespace (`\h` and `\H`) and vertical whitespace (`\v` and `\V`). The regex module already supports `\h`, but I can't use `\v` because it represents

[Python-Dev] Re: Adding new escapes to regex module

2022-08-17 Thread Serhiy Storchaka
16.08.22 23:24, MRAB пише: Other regex implementations have escape sequences for horizontal whitespace (`\h` and `\H`) and vertical whitespace (`\v` and `\V`). The regex module already supports `\h`, but I can't use `\v` because it represents `\0x0b', as it does in the re module. Now that