<?php
$text = "Я согласшусь но, из-за своего характера, не до конца.";
$regexp = '/^(7|8)([ ]|[-]|[(])([0-9]{3})([ ]|[-]|[)])([0-9]{7})$/';
$regexp1 = '/,[а-я]/u';
$regexp2 = '/жы|шы|Жы|Шы/u';
$regexp3 = '/[а-я]{1} но /u';
echo "Пропущен пробел после запятой '$match[0] '\n";
} else echo "Все правильно\n";
echo "жи- ши- пиши с 'и' ошибка в слоге'$match[0]'\n";
}
else echo "Все правильно\n";
echo "Перед но нужна запятая '$match[0] '\n";
} else echo "Все правильно\n";
ICAgIDw/cGhwCiAgICAgCiAgICAkdGV4dCA9ICLQryDRgdC+0LPQu9Cw0YHRiNGD0YHRjCDQvdC+LCDQuNC3LdC30LAg0YHQstC+0LXQs9C+INGF0LDRgNCw0LrRgtC10YDQsCwg0L3QtSDQtNC+INC60L7QvdGG0LAuIjsKICAgICRyZWdleHAgPSAnL14oN3w4KShbIF18Wy1dfFsoXSkoWzAtOV17M30pKFsgXXxbLV18WyldKShbMC05XXs3fSkkLyc7CiAgICAkcmVnZXhwMSA9ICcvLFvQsC3Rj10vdSc7CiAgICAkcmVnZXhwMiA9ICcv0LbRi3zRiNGLfNCW0Yt80KjRiy91JzsKICAgICRyZWdleHAzID0gJy9b0LAt0Y9dezF9INC90L4gL3UnOwogICAgJG1hdGNoID0gYXJyYXkoKTsKICAgIGlmIChwcmVnX21hdGNoKCRyZWdleHAxLCR0ZXh0LCRtYXRjaCkpewogICAgZWNobyAi0J/RgNC+0L/Rg9GJ0LXQvSDQv9GA0L7QsdC10Lsg0L/QvtGB0LvQtSDQt9Cw0L/Rj9GC0L7QuSAnJG1hdGNoWzBdICdcbiI7CiAgICB9IGVsc2UgZWNobyAi0JLRgdC1INC/0YDQsNCy0LjQu9GM0L3QvlxuIjsKICAgIAogICAgaWYgKHByZWdfbWF0Y2goJHJlZ2V4cDIsJHRleHQsJG1hdGNoKSl7CiAgICBlY2hvICLQttC4LSDRiNC4LSDQv9C40YjQuCDRgSAn0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