Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RegExpLiteral.php

function RegExpLiteral::getPattern

Returns regex pattern

Return value

string

1 call to RegExpLiteral::getPattern()
RegExpLiteral::getRaw in vendor/mck89/peast/lib/Peast/Syntax/Node/RegExpLiteral.php
Returns node's raw value

File

vendor/mck89/peast/lib/Peast/Syntax/Node/RegExpLiteral.php, line 58

Class

RegExpLiteral
A node that represents a regular expression literal.

Namespace

Peast\Syntax\Node

Code

public function getPattern() {
    return $this->pattern;
}
RSS feed
Powered by Drupal