You are here

class Zs in Search API 8

Represents characters of the Unicode category "Zs" ("Separator, Space").

Hierarchy

Expanded class hierarchy of Zs

File

src/Plugin/search_api/processor/Resources/Zs.php, line 8

Namespace

Drupal\search_api\Plugin\search_api\processor\Resources
View source
class Zs implements UnicodeCharacterPropertyInterface {

  /**
   * {@inheritdoc}
   */
  public static function getRegularExpression() {

    // phpcs:disable
    return '\\x{0020}\\x{00A0}\\x{1680}\\x{2000}\\x{2001}\\x{2002}\\x{2003}' . '\\x{2004}\\x{2005}\\x{2006}\\x{2007}\\x{2008}\\x{2009}\\x{200A}' . '\\x{202F}\\x{205F}\\x{3000}';

    // phpcs:enable
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Zs::getRegularExpression public static function Returns a regular expression matching this character class. Overrides UnicodeCharacterPropertyInterface::getRegularExpression