Index: trunk/extensions/AbuseFilter/AbuseFilter.parser.php |
— | — | @@ -963,7 +963,7 @@ |
964 | 964 | 10 => '[0-9.]', |
965 | 965 | ); |
966 | 966 | $baseClass = '['.implode('', array_keys($bases)).']'; |
967 | | - $radixRegex = "/([0-9A-Fa-f]*(?:\.\d*)?)($baseClass)?/Au"; |
| 967 | + $radixRegex = "/([0-9A-Fa-f]+(?:\.\d*)?|\.\d+)($baseClass)?/Au"; |
968 | 968 | $matches = array(); |
969 | 969 | |
970 | 970 | if ( preg_match( $radixRegex, $code, $matches, 0, $offset ) ) { |