From d7c6ea9c0339390288ec3b7c4e25d6ebb608c759 Mon Sep 17 00:00:00 2001 From: davidepastore Date: Sun, 12 Feb 2017 14:54:03 +0100 Subject: [PATCH] Closed #9 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 05923e1..97880b6 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,8 @@ You can restrict route using a different value of `ip` in the `options` given to * any of the filters provided by PHP regarding `FILTER_VALIDATE_IP` (e.g.: `FILTER_FLAG_NO_PRIV_RANGE`); * asterisk (`*`) to filter ip that are in the given subnet (e.g.: `192.*`); * ranges (`-`) to filter ip that are in the given range (e.g.: `192.168.0.0-192.168.255.255`); -* array of ranges to filter ip (e.g.: `array('192.0.0.0-192.255.255.255', '178.0.0.*')`); +* single ip (e.g.: `192.168.0.1-192.168.0.1`); +* array of ranges to filter ip (e.g.: `array('192.0.0.0-192.255.255.255', '178.0.0.*')`). You can find more syntax information on the `Ip` validator [documentation](https://github.com/Respect/Validation/blob/master/docs/Ip.md) and in its [Unit Test class](https://github.com/Respect/Validation/blob/master/tests/unit/Rules/IpTest.php).