You are here

class Pf in Search API 8

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

Hierarchy

Expanded class hierarchy of Pf

3 string references to 'Pf'
IgnoreCharacters::defaultConfiguration in src/Plugin/search_api/processor/IgnoreCharacters.php
Gets default configuration for this plugin.
IgnoreCharacterTest::ignoreCharacterSetsDataProvider in tests/src/Unit/Processor/IgnoreCharacterTest.php
Data provider for testValueConfiguration().
ProcessorIntegrationTest::checkIgnoreCharactersIntegration in tests/src/Functional/ProcessorIntegrationTest.php
Tests the UI for the "Ignore characters" processor.

File

src/Plugin/search_api/processor/Resources/Pf.php, line 8

Namespace

Drupal\search_api\Plugin\search_api\processor\Resources
View source
class Pf implements UnicodeCharacterPropertyInterface {

  /**
   * {@inheritdoc}
   */
  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
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Pf::getRegularExpression public static function Returns a regular expression matching this character class. Overrides UnicodeCharacterPropertyInterface::getRegularExpression