You are here

public static function Me::getRegularExpression in Search API 8

Returns a regular expression matching this character class.

Return value

string A PCRE regular expression.

Overrides UnicodeCharacterPropertyInterface::getRegularExpression

File

src/Plugin/search_api/processor/Resources/Me.php, line 13

Class

Me
Represents characters of the Unicode category "Me" ("Mark, Enclosing").

Namespace

Drupal\search_api\Plugin\search_api\processor\Resources

Code

public static function getRegularExpression() {

  // phpcs:disable
  return '\\x{0488}\\x{0489}\\x{20DD}\\x{20DE}\\x{20DF}\\x{20E0}\\x{20E2}' . '\\x{20E3}\\x{20E4}\\x{A670}\\x{A671}\\x{A672}';

  // phpcs:enable
}