* Afton Lewis [2007.03.02 13:30]:
> How would I search for a regex within a particular area? 

Once the text is selected visually, you could do:

:g/regex/#

which will appear as

:'<,'>g/regex/#

This will display all matching lines with line
numbers prepended.

Not as sophisticated as the other solutions you
got, but sometimes it's enough.

-- 
JR

Reply via email to