Fix backbone.validation number pattern to handle leading/trailing decimal.