[pve-devel] [PATCH qemu-server v2 4/4] parse vm config: remove "\s*" from multi-line comment regex

Dietmar Maurer dietmar at proxmox.com
Thu Feb 24 17:28:24 CET 2022


> On 02/24/2022 3:49 PM Stefan Sterz <s.sterz at proxmox.com> wrote:
> 
>  
> To be consistent with PBS's implementation of multi-line comments
> remove "\s*" here too. Since the regex isn't lazy .* matches
> everything \s* would anyway.

But the old regex trimm spaces from the end, so this is quite different!





More information about the pve-devel mailing list