]> git.ipfire.org Git - thirdparty/linux.git/commit
docs: c_lex: properly implement a sub() method for CMatch
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 17 Mar 2026 18:09:32 +0000 (19:09 +0100)
committerJonathan Corbet <corbet@lwn.net>
Sun, 22 Mar 2026 21:02:29 +0000 (15:02 -0600)
commit9aaeb817ef4f794d1dbb8736332a64b5dae9521c
tree44ac7f161c64f48b41e58dd212a133ba42555a22
parent50b87bb41e48127ec43a35f9302abb4c63ca6cc9
docs: c_lex: properly implement a sub() method for CMatch

Implement a sub() method to do what it is expected, parsing
backref arguments like \0, \1, \2, ...

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <dbc45b86db18783289d94cfdbba4b72792c47929.1773770483.git.mchehab+huawei@kernel.org>
tools/lib/python/kdoc/c_lex.py