Gets the first email address in text.
|
code » | |
Gets the first URI in text.
|
code » | |
Takes a string of plain text and linkifies URLs and email addresses. For a
URL (unless opt_attributes is specified), the target of the link will be
_blank and it will have a rel=nofollow attribute applied to it so that links
created by linkify will not be of interest to search engines.
|
code » |
![]()
Set of characters to be put into a regex character set ("[...]"), used to
match against a url hostname and everything after it. It includes
"#-@", which represents the characters "#$%&'()*+,-./0123456789:;<=>?@".
|
Code » | |
![]()
Regular expression pattern that matches an email.
Contains a catching group to capture the email without the optional "mailto:"
prefix.
|
Code » | |
![]()
If a series of these characters is at the end of a url, it will be considered
punctuation and not part of the url.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
Regular expression to match all the links (url or email) in a string.
First match is text before first link, might be empty string.
Second match is the original text that should be replaced by a link.
Third match is the email address in the case of an email.
Fourth match is the scheme of the url if specified.
|
Code » | |
![]()
Regular expression pattern that matches the beginning of an url.
Contains a catching group to capture the scheme.
|
Code » | |
![]()
List of all protocols patterns recognized in urls (mailto is handled in email
matching).
|
Code » | |
![]()
Regular expression pattern that matches a top level domain.
|
Code » | |
![]()
Regular expression pattern that matches an url.
|
Code » | |
![]()
Regular expression pattern that matches the beginning of a typical
http url without the http:// scheme.
|
Code » |