[pmg-devel] [PATCH pmg-gui] utils: escape `/` in regex for emails

Dominik Csapak d.csapak at proxmox.com
Mon Feb 26 08:07:06 CET 2024


AFAICS the original issue

On 2/23/24 19:11, Stoiko Ivanov wrote:

>>
>> Note that `/` marks the end of the regex [1], hence
>>
>>      Some at example@oh\no@
>>
>> is valid according to this regex if we do not escape `/`.
>>

is not because of unescaped '/' but because the regex is not anchored
and thus only parts of the input must match... (and that it does)




More information about the pmg-devel mailing list