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

2022-08-16 Thread MRAB
On 2022-08-16 22:14, Barry Scott wrote: > On 16 Aug 2022, at 21:24, MRAB wrote: > > 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

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

2022-08-16 Thread Barry Scott
> On 16 Aug 2022, at 21:24, MRAB wrote: > > 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

[Python-Dev] Adding new escapes to regex module

2022-08-16 Thread 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 someone has asked for it, I'm