Answer the question
In order to leave comments, you need to log in
Why is the regex failing?
I have this function:
function check_fullname($name) {
return preg_match('/^[А-Яа-яёЁ]+$/', $name);
}
Лещёв - не проходит
Викторович - не проходит
Павел - проходит
Апполинария - не проходит
Игоревна - не проходит
Ломаева - проходит
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question