minad / consult

:mag: consult.el - Consulting completing-read
GNU General Public License v3.0
1.12k stars 98 forks source link

How to search for upercase letters with outline-regexp? #961

Closed AnabasisXu closed 2 months ago

AnabasisXu commented 2 months ago

I tried to search for // ABC but not // abc in the following text:

// ABC
// abc

So I set (setq outline-regexp "// [A-Z]"). It matches both lines rather than just the line with uppercase letters.