Documentation

AutolinkParser
in package
implements InlineParserInterface

FinalYes

Table of Contents

Interfaces

InlineParserInterface

Constants

EMAIL_REGEX  = '<([a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>'
OTHER_LINK_REGEX  = '<([A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*)>'

Methods

getMatchDefinition()  : InlineParserMatch
parse()  : bool

Constants

EMAIL_REGEX

private mixed EMAIL_REGEX = '<([a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>'
private mixed OTHER_LINK_REGEX = '<([A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*)>'

Methods


        
On this page

Search results