Файловый менеджер - Редактировать - /home/digitalm/yhubita/wp-content/plugins/internal-links/helper/regex.php
Назад
<?php namespace ILJ\Helper; /** * Regex toolset * * Methods for regex operations * * @package ILJ\Helper * @since 1.2.0 */ class Regex { /** * Validates if a regex pattern is valid * * @since 1.2.0 * @param string $pattern The regular expression * @return bool */ public static function isValid($pattern) { if (preg_match('/' . $pattern . '/', '') === false) { return false; } return true; } /** * Escapes the dot character in a text * * @since 1.2.0 * @param string $text Text that gets escaped * * @return string */ public static function escapeDot($text) { return str_replace('.', '\.', $text); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.05 |
proxy
|
phpinfo
|
Настройка