PREG_CLASS_PUNCTUATION

Same name in other branches
  1. 7.x modules/search/search.module \PREG_CLASS_PUNCTUATION
  2. 8.9.x core/modules/search/search.module \PREG_CLASS_PUNCTUATION

Matches all 'P' Unicode character classes (punctuation)

Deprecated

in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal\search\SearchTextProcessorInterface::PREG_CLASS_PUNCTUATION instead.

See also

https://www.drupal.org/node/3078162

File

core/modules/search/search.module, line 34

Code

define('PREG_CLASS_PUNCTUATION', SearchTextProcessorInterface::PREG_CLASS_PUNCTUATION);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.