Re: [Ctags] recognizing multiple line tags
Brought to you by:
dhiebert
From: Darren H. <dar...@te...> - 2001-08-23 05:33:25
|
On Thu, 16 Aug 2001 jm...@mu... wrote: > I'm having trouble getting regex to recognize a multiple line tag. > > For example, in Splus I can have function on the same line or not. > foo.s > --- > foobar <- function(a) > { > a+1+2 > } > > > quux <- > function(a) > { > a+1+2 > } > --- > > > The regex pattern that I'm using is > --regex-S=/^[ \t]*([^ \t<]+)[ \t]*<-[ \t\n\r]*function/\1/ Regex patterns are only matched against single lines, as each individual line is read. I don't see a way to easily add this capability. -- Darren Hiebert <da...@hi...> http://darren.hiebert.com |