<?php
$text1 = 'abc.def';
$text2 = 'abc\def';
$reg1 = '/\./';
$reg2 = '/\\\\/';
echo "Точку находит\n";
} else {
echo "Точку не находит\n";
}
echo "Бекслеш находит\n";
} else {
echo "Бекслеш не находит\n";
}
PD9waHAKCiR0ZXh0MSA9ICdhYmMuZGVmJzsKJHRleHQyID0gJ2FiY1xkZWYnOwokcmVnMSA9ICcvXC4vJzsKJHJlZzIgPSAnL1xcXFwvJzsKaWYgKHByZWdfbWF0Y2goJHJlZzEsICR0ZXh0MSkpIHsKICAgIGVjaG8gItCi0L7Rh9C60YMg0L3QsNGF0L7QtNC40YJcbiI7Cn0gZWxzZSB7CiAgICBlY2hvICLQotC+0YfQutGDINC90LUg0L3QsNGF0L7QtNC40YJcbiI7Cn0KCmlmIChwcmVnX21hdGNoKCRyZWcyLCAkdGV4dDIpKSB7CgllY2hvICLQkdC10LrRgdC70LXRiCDQvdCw0YXQvtC00LjRglxuIjsKfSBlbHNlIHsKICAgIGVjaG8gItCR0LXQutGB0LvQtdGIINC90LUg0L3QsNGF0L7QtNC40YJcbiI7Cn0K