Guides

AnonymousPhraseRule extends ReferenceRule
in package
uses EmbeddedReferenceParser

FinalYes

Rule to parse for anonymous references

Syntax example:

Example anonymous reference__ Example reference <http://phpdoc.org>__

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

Table of Contents

Properties

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

Methods

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

Properties

$referenceRegex

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

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

Methods


        
On this page

Search results