Open
Description
I ran ctags -R --exclude=node_modules
and checked the generated tags
file and found out that the node_modules
folder was successfully excluded from the output. But when I do the same with ctags -R --exclude="**/node_modules/**
, then some of the files inside the node_modules
folder are still included in the generated tags
file. I wanted to know why is this the case just so that I can understand how ctags
work.
Notes
Version:
$ ctags --version
Universal Ctags 5.9.0, Copyright (C) 2015 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Oct 25 2021, 04:40:56
URL: https://ctags.io/
Optional compiled features: +wildcards, +regex, +gnulib_fnmatch, +gnulib_regex, +iconv, +option-directory, +xpath, +json, +interactive, +yaml, +case-insensitive-filenames, +packcc, +optscript