This feature has been added in version 2.2. There is two special links:
1. <filename>?s=<regex>
2. <filename>?is=<regex>
The second one is for insensitive case search.
Ctags' REs cannot be copied as is into a cb link file.
1/ starting and trailing slashes must be removed
2/ ':' is a field separator in link lines so it must be escaped with a backslash.
3/ cb's regex are not compatibles with ctags' : the characters []()*+?|\ must be escaped with two backslashes '\\'.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
could you add the following option:
filename?regеxp=/???/
regex search for ctags autogeneration
For dynamic error file generation I use gawk script
BEGIN{ FS = ":"; filename=""; }
{ if(filename!=$1)
{
if(filename!="")
print "#[cf]"
filename=$1
print "#[of]:",filename
}
if ($3==" error")
printf "#[l]:(E) %s:%s?ln=%u\n",$4,$1,$2
else
printf "#[l]:(W) %s:%s?ln=%u\n",$5,$1,$2
}
END{ if(filename!="") print "#[cf]" }
I would like to have something like this
thank you in advance for the programme
This feature has been added in version 2.2. There is two special links:
1. <filename>?s=<regex>
2. <filename>?is=<regex>
The second one is for insensitive case search.
Ctags' REs cannot be copied as is into a cb link file.
1/ starting and trailing slashes must be removed
2/ ':' is a field separator in link lines so it must be escaped with a backslash.
3/ cb's regex are not compatibles with ctags' : the characters []()*+?|\ must be escaped with two backslashes '\\'.