Would `{w}{num}{w}` instead of `((0?\.?\d*)|1)` be more in line with the existing code?