From efa7f6de67b27d8e3f298716eb52212cf95e4d33 Mon Sep 17 00:00:00 2001 From: Laurence Tratt Date: Thu, 16 May 2024 15:04:02 +0100 Subject: [PATCH] fixup! Introduce the `..*` interline wildcard. --- README.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/README.md b/README.md index 0e0a745..9a7192e 100644 --- a/README.md +++ b/README.md @@ -96,16 +96,6 @@ C will, through backtracing, successfully match the literal. -```text -A -..? -B -C -..* -D -E -``` - There are two reasons why you should default to using `..?` rather than `..*`. Most obviously `..?` does not backtrack and has linear performance. Less obviously `..?` prevents literals from matching when they contain multiple