Guides

NamedPhraseRule extends ReferenceRule
in package
uses EmbeddedReferenceParser

FinalYes

Rule to parse for named references

Syntax examples:

Sample reference_ Another example <https://phpdoc.org>_

Tags
see
https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#hyperlink-references

Table of Contents

Properties

$referenceRegex  : string
https://regex101.com/r/KadqKx/1

Methods

applies()  : bool
apply()  : InlineNode|null
getPriority()  : int
createReference()  : AbstractLinkInlineNode
rollback()  : void
extractEmbeddedReference()  : ReferenceData

Properties

$referenceRegex

https://regex101.com/r/KadqKx/1

private string $referenceRegex = '/^(.*?)(<([^<]+)>)?$/s'

Methods


        
On this page

Search results