<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY>
I found that bbcombotest didn't work for hostnames starting with a number.<BR>
<BR>
My fix: (this is on the 4.4.0 branch)<BR>
<BR>
@@ -295,13 +291,10 @@<BR>
<BR>
done = 0; inp=symbolicexpr; outp=expr; symp = NULL;<BR>
while (!done) {<BR>
- if (isalpha((int)*inp)) {<BR>
+ if (isalpha((int)*inp) || isdigit((int) *inp) || *inp == '.') {<BR>
if (!insymbol) { insymbol = 1; symp = symbol; }<BR>
*symp = *inp; symp++;<BR>
}<BR>
- else if (insymbol && (isdigit((int) *inp) || (*inp == '.'))) {<BR>
- *symp = *inp; symp++;<BR>
- }<BR>
else if (insymbol && ((*inp == '\\') && (*(inp+1) > ' '))) {<BR>
*symp = *(inp+1); symp++; inp++;<BR>
}
</BODY>
</HTML>