++rp;
from = wp = rp;
while (*rp != '\0' && !isspace (*rp))
- ++rp;
+ *wp = toupper (*rp++);
if (*rp == '\0')
/* There is no `to' string on the line. Ignore it. */
return;
while (isspace (*rp))
++rp;
while (*rp != '\0' && !isspace (*rp))
- *wp++ = *rp++;
+ *wp++ = toupper (*rp++);
if (to == wp)
/* No `to' string, ignore the line. */
return;
if (!isalnum (*rp) && *rp != '-' && *rp != '/' && *rp != '.'
&& *rp != '_' && *rp != '(' && *rp != ')')
from_is_regex = 1;
+ *rp = toupper (*rp);
++rp;
}
if (*rp == '\0')
while (isspace (*rp))
++rp;
while (*rp != '\0' && !isspace (*rp))
- *wp++ = *rp++;
+ *wp++ = toupper (*rp++);
if (*rp == '\0')
return;
*wp++ = '\0';