ajax_check_regexp.php
\file \brief Check whether a regexp is valid, returns error message or empty string
Call: inc/ajax_check_regexp.php?.... ... regex=regular_expression
Tags
Table of Contents
Functions
- check_mecab_accessibility() : void
- Check if mecab is installed and accessible under the 'mecab' alias.
- check_standard_regex() : void
- Check if string 'test' is consistently recognized as a word.
- do_ajax_check_regexp() : void
- Make the actual query to check the regex.
Functions
check_mecab_accessibility()
Check if mecab is installed and accessible under the 'mecab' alias.
check_mecab_accessibility() : void
check_standard_regex()
Check if string 'test' is consistently recognized as a word.
check_standard_regex(mixed $regex) : void
Parameters
- $regex : mixed
do_ajax_check_regexp()
Make the actual query to check the regex.
do_ajax_check_regexp(string $regex) : void
Parameters
- $regex : string
-
Regex to test