You are here

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

Class

Pf
Represents characters of the category "Pf" ("Punctuation, Final quote").

Namespace

Drupal\search_api\Plugin\search_api\processor\Resources

Code

public static function getRegularExpression() {

  // phpcs:disable
  return '\\x{00BB}\\x{2019}\\x{201D}\\x{203A}\\x{2E03}\\x{2E05}\\x{2E0A}' . '\\x{2E0D}\\x{2E1D}\\x{2E21}';

  // phpcs:enable
}