You are here

constant PREG_CLASS_PUNCTUATION in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/search/search.module \PREG_CLASS_PUNCTUATION
  2. 4 modules/search.module \PREG_CLASS_PUNCTUATION
  3. 5 modules/search/search.module \PREG_CLASS_PUNCTUATION
  4. 6 modules/search/search.module \PREG_CLASS_PUNCTUATION
  5. 7 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
Enables site-wide keyword searching.

Code

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