Reputation: 121
I'm validating a form via an XML schema, and I get this error:
[facet 'pattern'] The value '12' is not accepted by the pattern '\d{10}'
What does \d{10}
mean? Where can I go to learn more about pattern facets?
Upvotes: 2
Views: 33806
Reputation: 2998
\d{10}
means you should have 10 characters matching any decimal digit (including [0-9])
Upvotes: 5