Glossary

Forgetting `r` prefix

`"\b"` is a backspace; `r"\b"` is a word boundary 2. **Using `re.match()` when you mean `re.search()`** — `match()` only checks the start 3. **Greedy matching between delimiters** — `"<.*>"` matches too much; use `"<.*?>"` 4. **Overly complex regex** — if a colleague can't read it in 30 seconds, sim

Learn More

Related Terms