Closed freddieventura closed 4 months ago
In ctags, [\s]
matches \
or s
.
For matching whitespace, use [ \t]
or [[:space:]]
.
So the option should be:
--regex-aidantags=/^#\s([A-Za-z0-9[:space:]]*)\s#$/\1/t/
(the pattern had a typo. edited).
Thank you , it worked
I have the following ruleset
For a text file that simplified looks like this
I am trying to match those tags that I have created for each topic entry
^# \s\w*\s#$
But some of them are multiword , so I need to have a custom character class such as
[A-Za-z\s]
Upon using that configuration I can get is
Is not matching against those multiword tags , despite this regex been correct (I have used it on regex101.com and it works
Should you want to check against the actual file
curl https://termbin.com/a345