Documentation

AutolinkParser
in package
implements InlineParserInterface

Interfaces, Classes and Traits

InlineParserInterface

Table of Contents

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]*>/i'
getCharacters()  : array<string|int, string>
parse()  : bool

Constants

EMAIL_REGEX

public 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])?)*)>/'
public mixed OTHER_LINK_REGEX = '/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i'

Methods

getCharacters()

public getCharacters() : array<string|int, string>
Return values
array<string|int, string>

Search results