You are here

public function Normalize::prependPattern in Bibliography Module 7.2

Prepend a pattern to the list, making it the first to check

Parameters

string $regex:

array $matchPattern:

File

lib/msrc-authortool/src/Nametools/Normalize.php, line 125

Class

Normalize
Normalize strings from common formats using REGEX

Namespace

Nametools

Code

public function prependPattern($regex, $matchPattern) {
  return $this
    ->addPattern($regex, $matchPattern, self::PREPEND);
}