diff options
Diffstat (limited to 'src/regex/regex_test_lib.c')
-rw-r--r-- | src/regex/regex_test_lib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/regex/regex_test_lib.c b/src/regex/regex_test_lib.c index 58cd8dc10..f8d3f993f 100644 --- a/src/regex/regex_test_lib.c +++ b/src/regex/regex_test_lib.c | |||
@@ -137,7 +137,7 @@ debugctx (struct RegexCombineCtx *ctx, int level) | |||
137 | 137 | ||
138 | 138 | ||
139 | /** | 139 | /** |
140 | * Add a single regex to a context, combining with exisiting regex by-prefix. | 140 | * Add a single regex to a context, combining with existing regex by-prefix. |
141 | * | 141 | * |
142 | * @param ctx Context with 0 or more regexes. | 142 | * @param ctx Context with 0 or more regexes. |
143 | * @param regex Regex to add. | 143 | * @param regex Regex to add. |
@@ -378,14 +378,14 @@ regex_add_multiple (struct RegexCombineCtx *ctx, | |||
378 | 378 | ||
379 | 379 | ||
380 | /** | 380 | /** |
381 | * Add a single regex to a context, splitting the exisiting state. | 381 | * Add a single regex to a context, splitting the existing state. |
382 | * | 382 | * |
383 | * We only had a partial match, split existing state, truncate the current node | 383 | * We only had a partial match, split existing state, truncate the current node |
384 | * so it only contains the prefix, add suffix(es) as children. | 384 | * so it only contains the prefix, add suffix(es) as children. |
385 | * | 385 | * |
386 | * @param ctx Context to split. | 386 | * @param ctx Context to split. |
387 | * @param len Lenght of ctx->s | 387 | * @param len Length of ctx->s |
388 | * @param prefix_l Lenght of common prefix of the new regex and @a ctx->s | 388 | * @param prefix_l Length of common prefix of the new regex and @a ctx->s |
389 | */ | 389 | */ |
390 | static void | 390 | static void |
391 | regex_split (struct RegexCombineCtx *ctx, | 391 | regex_split (struct RegexCombineCtx *ctx, |
@@ -431,7 +431,7 @@ regex_split (struct RegexCombineCtx *ctx, | |||
431 | 431 | ||
432 | 432 | ||
433 | /** | 433 | /** |
434 | * Add a single regex to a context, combining with exisiting regex by-prefix. | 434 | * Add a single regex to a context, combining with existing regex by-prefix. |
435 | * | 435 | * |
436 | * @param ctx Context with 0 or more regexes. | 436 | * @param ctx Context with 0 or more regexes. |
437 | * @param regex Regex to add. | 437 | * @param regex Regex to add. |