mirror of
https://github.com/cesanta/slre.git
synced 2024-11-24 03:15:30 +00:00
Update mongoose for mos
PUBLISHED_FROM=78800c0b735132f48270ed63de5767851501b617
This commit is contained in:
parent
fe228d20e8
commit
9075c67cad
2
slre.c
2
slre.c
@ -126,7 +126,7 @@ static int match_op(const unsigned char *re, const unsigned char *s,
|
|||||||
case 'v': FAIL_IF(*s != '\v', SLRE_NO_MATCH); result++; break;
|
case 'v': FAIL_IF(*s != '\v', SLRE_NO_MATCH); result++; break;
|
||||||
|
|
||||||
case 'x':
|
case 'x':
|
||||||
/* Match byte, \xHH where HH is hexadecimal byte representation */
|
/* Match byte, \xHH where HH is hexadecimal byte representaion */
|
||||||
FAIL_IF(hextoi(re + 2) != *s, SLRE_NO_MATCH);
|
FAIL_IF(hextoi(re + 2) != *s, SLRE_NO_MATCH);
|
||||||
result++;
|
result++;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user