On 4/16/20 10:07 AM, Fabian Grünbichler wrote:
> On April 16, 2020 8:57 am, Dominik Csapak wrote:
>> bottom line: i guess both are ok when used right, but with
>> [0-9] there is no ambiguity as to what it matches
>>
> 
> fine for me as well (I prefer \d for readability/shortness, but I don't 
> care that strongly either way :-P).
> 
> let's put it into the style guide? 

already done ;)
https://pve.proxmox.com/pipermail/pve-devel/2020-April/043028.html
https://pve.proxmox.com/wiki/Perl_Style_Guide#Matching_Digits_Fallacy


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to