Merge pull request #35 from timgates42/bugfix_typo_representation

docs: fix simple typo, representaion -> representation
This commit is contained in:
Sergey Lyubka 2020-10-08 15:47:14 +01:00 committed by GitHub
commit fe228d20e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
slre.c
View File

@ -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 'x':
/* Match byte, \xHH where HH is hexadecimal byte representaion */
/* Match byte, \xHH where HH is hexadecimal byte representation */
FAIL_IF(hextoi(re + 2) != *s, SLRE_NO_MATCH);
result++;
break;