On Thu, May 11, 2006 at 10:40:20AM -0600, Shaun Cummins wrote:
Thanks for the responses everyone!
BTW, do you realize that in your end pattern, .\+ will match all of
STA1 n
and .* will then match nothing?
The values within the quotes can be any text [\w\d-\.\+]. The 6
On Thu, May 11, 2006 at 10:12:32AM -0400, Benji Fisher wrote:
On Wed, May 10, 2006 at 02:53:20PM -0600, Shaun Cummins wrote:
I would like to use a variable within a regular expression counter. I
tried the following, but it gave me a syntax error:
:syntax region Keyword
On Wed, May 10, 2006 at 02:53:20PM -0600, Shaun Cummins wrote:
:syntax region Keyword start=^\w\+\s\+\z(\d\+\)
end=#\(\s*\(.\+\|'.\+'\).*\n\)\{\z1\}#
How about
:syntax region Keyword start=^\w\+\s\+\z(\d\+\)
\ end=#^\s*[A-Z]*\z1#
?
Yakov