You are here

Pi.php in Search API 8

File

src/Plugin/search_api/processor/Resources/Pi.php
View source
<?php

namespace Drupal\search_api\Plugin\search_api\processor\Resources;


/**
 * Represents characters of the category "Pi" ("Punctuation, Initial quote").
 */
class Pi implements UnicodeCharacterPropertyInterface {

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

}

Classes

Namesort descending Description
Pi Represents characters of the category "Pi" ("Punctuation, Initial quote").