Home
last modified time | relevance | path

Searched refs:mentionRegex (Results 1 – 1 of 1) sorted by relevance

/plugin/commonmark/vendor/league/commonmark/src/Extension/Mention/
H A DMentionParser.php26 private $mentionRegex; variable in League\\CommonMark\\Extension\\Mention\\MentionParser
31 …public function __construct(string $symbol, string $mentionRegex, MentionGeneratorInterface $menti… argument
34 $this->mentionRegex = $mentionRegex;
61 $identifier = $cursor->match($this->mentionRegex);
82 …public static function createWithStringTemplate(string $symbol, string $mentionRegex, string $urlT… argument
84 return new self($symbol, $mentionRegex, new StringTemplateLinkGenerator($urlTemplate));
87 …public static function createWithCallback(string $symbol, string $mentionRegex, callable $callback… argument
89 return new self($symbol, $mentionRegex, new CallbackGenerator($callback));