I'm no regex or pattern expert and I can't seem to get this matching
correctly.

I'd like to have any line containing all UPPER CASE letters, spaces,
and punctuation to appear in a certain color. The highlighting works
fine, but my pattern is erratic and incomplete, I think.

I can't seem to get the + or * work in the starting pattern. Nor can I
specify something like [^a-z]

The closest I've come is something like:

:syntax region String start="^[A-Z][A-Z\s]" end="[A-Z\.][A-Z\?\):\s]*
$" oneline

If somebody could suggest the one true pattern, I would really
appreciate it.

Thank you,

RD

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to