Skip to content

Commit f846c26

Browse files
Remove one guide
1 parent 0573f63 commit f846c26

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

doc/GUIDE.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -130,27 +130,6 @@ Use `\z` for end-of-string.
130130
131131
---
132132
133-
### 3. Split Complex Rules Into Smaller Matchers
134-
135-
Instead of building one all-inclusive pattern, break logic into separate matchers.
136-
137-
**Instead of:**
138-
139-
```regex
140-
^order-[A-Z]{2}-[0-9]+-(pending|done|failed)$
141-
```
142-
143-
**Split into:**
144-
145-
```regex
146-
order-[A-Z]{2}-[0-9]+
147-
(pending|done|failed)
148-
```
149-
150-
Apply them sequentially in code if needed. This keeps FSMs smaller and easier to compile.
151-
152-
---
153-
154133
## Byte Search Optimization (Optional)
155134
156135
Patterns that start with an **uncommon character** can be accelerated using an initial byte scan before running the FSM.

0 commit comments

Comments
 (0)