| Title |
Test
Find
Int type
|
| Expression |
(0|[1-9]{1}[0-9]{0,8}|[1]{1}[0-9]{1,9}|[-]{1}[2]{1}([0]{1}[0-9]{8}|[1]{1}([0-3]{1}[0-9]{7}|[4]{1}([0-6]{1}[0-9]{6}|[7]{1}([0-3]{1}[0-9]{5}|[4]{1}([0-7]{1}[0-9]{4}|[8]{1}([0-2]{1}[0-9]{3}|[3]{1}([0-5]{1}[0-9]{2}|[6]{1}([0-3]{1}[0-9]{1}|[4]{1}[0-8]{1}))))))))|(\+)?[2]{1}([0]{1}[0-9]{8}|[1]{1}([0-3]{1}[0-9]{7}|[4]{1}([0-6]{1}[0-9]{6}|[7]{1}([0-3]{1}[0-9]{5}|[4]{1}([0-7]{1}[0-9]{4}|[8]{1}([0-2]{1}[0-9]{3}|[3]{1}([0-5]{1}[0-9]{2}|[6]{1}([0-3]{1}[0-9]{1}|[4]{1}[0-7]{1}))))))))) |
| Description |
Will match any integer from range -2147483648 to 2147483647. |
| Matches |
-2147483648 | -100 | 0 | 100 | 2147483647 |
| Non-Matches |
-2147483649 | -0 | +0 | 2147483648 |
| Author |
Rating:
João Batista Neto
|
| Source |
|
| Your Rating |
|
Title: Negative values.
Name: why-not
Date: 2/5/2010 2:13:08 AM
Comment:
There is a problem with negative values, that start not from "2".