You are here

public static function Zp::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/Zp.php, line 13

Class

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

Namespace

Drupal\search_api\Plugin\search_api\processor\Resources

Code

public static function getRegularExpression() {

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

  // phpcs:enable
}