Wrong allowedCharPattern behavier

Hello.
This is example of code

<TextField allowedCharPattern="[\\d-]" {...field(model.bindAddrRangeTOAString)}/>

The pattern for allowedCharPattern I got from the property description

Problem: the text field allows to input only “d” symbol, but no numbers.
I fixed it by allowedCharPattern="[0-9-]". Is it a bug or wrong description?
Hilla 24.10.1

I guess it is a typo in the documentation \d should work