ctags icon indicating copy to clipboard operation
ctags copied to clipboard

main,lregex: revise the way to using group numbers of regex matching

Open masatake opened this issue 5 years ago • 1 comments

Inspired from #2598.

The lregex code uses group numbers of regex matching in many places. {mgroup=N} is one of them

I have found many issues about usage.

  • [ ] a default value should be given to mgroup. ...

masatake avatar Jul 19 '20 21:07 masatake

I wonder what happens if we give --_mtable-regex-Foo=main/([a-z]*)/\1//{mgroup=9}. In many places, the range check of the regex group number is missing.

masatake avatar May 23 '21 07:05 masatake