diff --git a/components/number.inc b/components/number.inc
index dc127c2..d420a18 100644
--- a/components/number.inc
+++ b/components/number.inc
@@ -821,12 +821,11 @@ function webform_number_format_match($value, $point, $separator) {
                       (?:           # Interger portion (non-grouping)
                         \d{1,3}     #   1 to 3 digits
                         (?:         #   Thousands group(s)
-                        $thousands  #     Optional thousands separator
-                        \d{2,3}     #     2 or 3 digits. Some countries use groups of 2 sometimes
+                        \d{2,3}     #   2 or 3 digits. Some countries use groups of 2 sometimes
                       )*            #   0 or more of these thousands groups
                     )?              # End of optional integer portion
                     (?:             # Decimal portion (non-grouping)
-                      $decimal      #   Decimal point
+                      \.            # Decimal point
                       \d*           #   0 or more digits
                     )?              # End of optional decimal portion
                     $
