Re: [Ctags] regex question
Brought to you by:
dhiebert
From: Darren H. <dar...@te...> - 2001-08-24 03:26:44
|
On Thu, 23 Aug 2001, Johannes Zellner wrote: > On Thu, Aug 23, 2001 at 12:56:54AM -0500, Darren Hiebert wrote: > > > > --regex-basic=/^[ \t]*(private[ \t]+)?(sub|function)[ \t]+([^( \t]+)/\3/r,regex/ei > > > Your regex pattern specifies use of the third grouping as the tag > > name. This is the group "([^( \t]+)", which is always one or more of > > the characters '(', ' ', or '\t'. So you got what you specified. > > \3 should evaluate to Main > note [^( \t] > ^ > so it has one ore more characters of NOT '(', ' ', '\t' > > isn't it ? Quite right. Sorry for the oversight. -- Darren Hiebert <da...@hi...> http://darren.hiebert.com |