Skip to content

Commit

Permalink
fixup! Introduce the ..* interline wildcard.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltratt committed May 16, 2024
1 parent ab7a1fe commit efa7f6d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efa7f6d

Please sign in to comment.