You are here

class Zp in Search API 8

Represents characters of the Unicode category "Zp" ("Separator, Paragraph").

Hierarchy

Expanded class hierarchy of Zp

File

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

Namespace

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

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

    // phpcs:disable
    return '\\x{2029}';

    // phpcs:enable
  }

}

Members

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