public static function Pi::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/ Pi.php, line 13
Class
- Pi
- Represents characters of the category "Pi" ("Punctuation, Initial quote").
Namespace
Drupal\search_api\Plugin\search_api\processor\ResourcesCode
public static function getRegularExpression() {
// phpcs:disable
return '\\x{00AB}\\x{2018}\\x{201B}\\x{201C}\\x{201F}\\x{2039}\\x{2E02}' . '\\x{2E04}\\x{2E09}\\x{2E0C}\\x{2E1C}\\x{2E20}';
// phpcs:enable
}