Regex constraint

Yaw,

I have tried ^[0-9]{10}$ (type is string) to match exactly 10 digits and it works fine except when the first digit is zero. Have tried on version 1.1.7 ard 1.2 and same result.

Methu.