version 1.143, 2006/03/11 22:44:11 |
version 1.144, 2006/03/15 05:05:35 |
|
|
* $Keyword$ |
* $Keyword$ |
* $Keyword: value$ |
* $Keyword: value$ |
*/ |
*/ |
for (c = data; *c != '\0' && i < len; *c++) { |
for (c = data; *c != '\0' && i < len; c++) { |
if (*c == '$') { |
if (*c == '$') { |
/* remember start of this possible keyword */ |
/* remember start of this possible keyword */ |
start = c; |
start = c; |
start_offset = start - data; |
start_offset = start - data; |
|
|
/* first following character has to be alphanumeric */ |
/* first following character has to be alphanumeric */ |
*c++; |
c++; |
if (!isalpha(*c)) { |
if (!isalpha(*c)) { |
c = start; |
c = start; |
continue; |
continue; |