summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2019-11-12 05:59:21 (GMT)
committerJosh Soref <jsoref@users.noreply.github.com>2019-11-12 05:59:21 (GMT)
commit065c8b307ae2723b13e7eff1d627425ce322d664 (patch)
treee4db618b4787b2c0baa75fca08487b9be4674644
parent010934456e9ec6ce2066fd649af9e7c171c3b5c1 (diff)
downloadDoxygen-065c8b307ae2723b13e7eff1d627425ce322d664.zip
Doxygen-065c8b307ae2723b13e7eff1d627425ce322d664.tar.gz
Doxygen-065c8b307ae2723b13e7eff1d627425ce322d664.tar.bz2
spelling: mailtoaddr
-rw-r--r--src/doctokenizer.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index f0a6a83..cd5e242 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -344,7 +344,7 @@ PHPTYPE [\\:a-z_A-Z0-9\x80-\xFF\-]+
CITESCHAR [a-z_A-Z0-9\x80-\xFF\-\?]
CITEECHAR [a-z_A-Z0-9\x80-\xFF\-\+:\/\?]
CITEID {CITESCHAR}{CITEECHAR}*("."{CITESCHAR}{CITEECHAR}*)*|"\""{CITESCHAR}{CITEECHAR}*("."{CITESCHAR}{CITEECHAR}*)*"\""
-MAILADR ("mailto:")?[a-z_A-Z0-9.+-]+"@"[a-z_A-Z0-9-]+("."[a-z_A-Z0-9\-]+)+[a-z_A-Z0-9\-]+
+MAILTOADDR ("mailto:")?[a-z_A-Z0-9.+-]+"@"[a-z_A-Z0-9-]+("."[a-z_A-Z0-9\-]+)+[a-z_A-Z0-9\-]+
OPTSTARS ("//"{BLANK}*)?"*"*{BLANK}*
LISTITEM {BLANK}*[-]("#")?{WS}
MLISTITEM {BLANK}*[+*]{WS}
@@ -642,13 +642,13 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV}
g_token->isEMailAddr=FALSE;
return TK_URL;
}
-<St_Para>{MAILADR} { // Mail address
+<St_Para>{MAILTOADDR} { // Mail address
g_token->name=yytext;
g_token->name.stripPrefix("mailto:");
g_token->isEMailAddr=TRUE;
return TK_URL;
}
-<St_Para>"<"{MAILADR}">" { // Mail address
+<St_Para>"<"{MAILTOADDR}">" { // Mail address
g_token->name=yytext;
g_token->name = g_token->name.mid(1,g_token->name.length()-2);
g_token->name.stripPrefix("mailto:");