<?php
$regexp = "/([.,;:!?][а-яё])|([жш]ы)|(\\w\\s+(a|(но))\\b)|
(координально)|(сдесь)|(здела[юнл])/ui";
$text = "!!!жы но. сдесь зделал а.";
echo "Неверно!\n";
foreach ($matches[0] as $count => $error) {
$number = $count+1;
echo "Ошибка номер {$number} тута:\"{$error}\"\n";
}
} else {
echo "Всё верно!\n";
}
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7CgokcmVnZXhwID0gIi8oWy4sOzohP11b0LAt0Y/RkV0pfChb0LbRiF3Riyl8KFxcd1xccysoYXwo0L3QvikpXFxiKXwKICAgICAgICAgICjQutC+0L7RgNC00LjQvdCw0LvRjNC90L4pfCjRgdC00LXRgdGMKXwo0LfQtNC10LvQsFvRjtC90LtdKS91aSI7CiAgICAgICAgICAKJG1hdGNoZXMgPSBhcnJheSgpOwokdGV4dCA9ICIhISHQttGLINC90L4uINGB0LTQtdGB0Ywg0LfQtNC10LvQsNC7INCwLiI7CgppZiAocHJlZ19tYXRjaF9hbGwoJHJlZ2V4cCwgJHRleHQsICRtYXRjaGVzKSkgewoJZWNobyAi0J3QtdCy0LXRgNC90L4hXG4iOwoJZm9yZWFjaCAoJG1hdGNoZXNbMF0gYXMgJGNvdW50ID0+ICRlcnJvcikgewoJCSRudW1iZXIgPSAkY291bnQrMTsKCQllY2hvICLQntGI0LjQsdC60LAg0L3QvtC80LXRgCB7JG51bWJlcn0g0YLRg9GC0LA6XCJ7JGVycm9yfVwiXG4iOwoJfQoJfSBlbHNlIHsKCQllY2hvICLQktGB0ZEg0LLQtdGA0L3QviFcbiI7Cgl9Cgk=