Use explicit stop characters instead of dot-star where possible.
Section: Performance and Backtracking
Constrained tag content
regex
regex
<title>[^<]*</title>Explanation
Usually faster and more predictable than `<title>.*?</title>`.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Performance and Backtracking