source: node_modules/autolinker/dist/commonjs/matcher/email-matcher.d.ts

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 781 bytes
Line 
1import { Matcher } from './matcher';
2import { Match } from '../match/match';
3/**
4 * @class Autolinker.matcher.Email
5 * @extends Autolinker.matcher.Matcher
6 *
7 * Matcher to find email matches in an input string.
8 *
9 * See this class's superclass ({@link Autolinker.matcher.Matcher}) for more details.
10 */
11export declare class EmailMatcher extends Matcher {
12 /**
13 * Valid characters that can be used in the "local" part of an email address,
14 * i.e. the "name" part of "name@site.com"
15 */
16 protected localPartCharRegex: RegExp;
17 /**
18 * Stricter TLD regex which adds a beginning and end check to ensure
19 * the string is a valid TLD
20 */
21 protected strictTldRegex: RegExp;
22 /**
23 * @inheritdoc
24 */
25 parseMatches(text: string): Match[];
26}
Note: See TracBrowser for help on using the repository browser.