Xan is a georgian letter as I can find in Google, but it’s not a valid Unicode Script for RegEx, you can find a list of the Unicode Scripts here: http://www.regular-expressions.info/unicode.html
Maybe try using another one than Xan, maybe Georgian:
preg_match( '/[\p{Georgian}]/u', $content, $results );
Let me know how that goes.
Related Posts:
- What do ++ and *+ mean?
- Matching a space in regex
- Should I use spl_autoload_register() in my plugin?
- WP-CLI – Selecting PHP version
- When to use Exceptions vs Error Objects vs just plain false/null
- Hide php Notices in Dashboard
- PHP Catchable fatal error: Object of class WP_Error could not be converted to string
- Upgrading PHP version results in “Use of undefined constant WP_CONTENT_DIR” warning?
- Correct regex for wp_embed_register_handler
- WordPress “Link has expired” error on updating posts
- Notice: Constant already defined in wp-config.php on (non-existent) line?
- error_log is not working as expected in functions.php file
- “Can’t use function return value in write context” error
- Fatal error: Call to undefined function wpsc_cart_item_count()
- Error when requesting password reset email – wp authentication
- “Notice: Undefined variable: content” is showing [closed]
- After upgrading to PHP 7.0 my contact form outputs error
- Can WordPress email the admin about PHP errors, while hiding them from the site?
- Wrap First Character after in a tag
- How to find error in my code when the error message is pointing to WP core file?
- PHP Warning: Attempt to read property “term_id” on bool
- Mute Debug Messages from Plugins
- WordPress Script stops suddenly
- Applying A Category to Existing Posts Where Page Title Matches Regex
- A non-numeric value encountered in /wp-includes/functions.php on line 68
- Error on wp_default_style After upgrade to php 7
- Extend PHP regex to cover “srcset” and “style” attributes
- Getting error when using wp_insert_post()
- Error: options page not found
- Headers already sent in Pluggable.php / homepage and wp-login error
- Which is the correct way to conditionally enqueue a CSS file?
- how to remove colon and white space in a string by php
- “Undefined index” error when saving empty array with checkboxes
- get_users meta_query: REGEXP not working for matching new lines
- Warning: Illegal string offset on theme options page [closed]
- customize wordpress database error page
- PHP if statement works in template files, but not header
- PHP-warning in post-template.php and no loading content on pages
- How to add no follow to specific links?
- After adding my website to a new server, I keep getting a unexpected end of file error, but the file is identitcal to it’s original source
- Parse error: syntax error, unexpected ‘}’ [closed]
- Array to string conversion error in PHP 7.2 when returning user role as class
- Extract links from content
- PHP E_WARNING being shown despite php.ini [closed]
- What’s wrong with this piece of code? [closed]
- Restrict characters in comment section
- can’t get errors
- Cannot load media and I get “PHP Warning: Invalid argument supplied for foreach(“
- Fatal Error wp-settings.php on line 119
- How can I fix this code [duplicate]
- Trying to display terms from custom taxonomy within function
- Testing a Form’s Zipcode Field with Regular Expressions to Determine WordPress Page Behaviour
- Help with accessing wp-admin page and resolving error messages
- Blog suddenly shows Archive instead of index page
- Programmatically revert to backup .htaccess a possibility?
- Prevent post from being published and show error
- Illegal string offset in PHP function in via Theme Customizer
- Can’t log in to WordPress wp-admin after adding code to functions.php
- Cannot find the php_ini configuration file to find my error log to see why my code is not working
- White screen after migrating site, but wp-admin works fine. Disabling all plugins, applying default theme and enabling debug mode does nothing
- I am having errors with checkout on wordpress
- Intermittent 503 Service Unavailable Error
- WordPress Bad Request Error 400
- Trying to get property ‘ID’ and ‘post_author’ of non-object error
- HELP: cannot log into wordpress. PHP error
- Why am I getting syntax error, unexpected ‘endwhile’ (T_ENDWHILE) on single.php
- The link you followed has expired. Please try again
- PHP error on local server install
- Site title not showing. Please help me
- PHP Error in WordPress Theme
- WordPress database error only while loading page for 1st time
- Getting an empty space in up sell items
- This occurs when I open admin or front on localhost
- How to send logs to plugin owner for a plugin?
- WordPress 3.0 PHP Error – notice WordPress_product_Type was called incorrectly
- global $post inside plugin query messes up every new post page in wp-admin
- RegExp to EXCLUDE strip HTML (FOR SOMME) comments
- WordPress causing all code to be displayed on line 1. Receiving multiple errors after cleaning cookies and cache
- WordPress won’t display errors at all
- Troubleshooting “loopback requests that take too long”
- How to strip/remove all blank spaces at the beginning/end of a search string
- Query Concatenation
- WP Debug enabled Undefined index error in a widget
- What does that mean: cannot use a scalar value as an array [closed]
- problem with php function error
- How to handle PHP parse errors?
- WordPress White Screen Error
- Please help! Parse error: syntax error, unexpected ‘
- Need help with Deprecated: Non-static error when update PHP 7.4 -> 8.1 with Dyad 2 theme
- kali php problem [closed]
- PHP warning $post->ID is null
- Is there a way to get wp_editor (tinymce) content?
- Getting invalid user ID error when creating a new user with wp_insert_user
- Execute multiple PHP Snippets causes error?
- How to cut a section of a URL from a string with a regular expression?
- Use of undefined constant issue
- WordPress 6.1.1 shows deprecated errors with PHP 8.1 & 8.2
- I can’t log into my website , it says “Error: Cookies are blocked due to unexpected output”
- Error when loading Dashboard
- WordPress @include( ‘template-config.php’ );