this kvantifikator {4,7}? is - greater or equal 4 and lower 7. this is correct yes? if yes - why displays this code: "match is"
$str = "ddddddd";
if (preg_match("#^[d]{4,7}?$#",$str)) {
echo "match is";
}
in variable $str symbol d is exactly 7 times
Thanks :)


Sign In
Create Account


Back to top









