]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: kdoc_re: handle strings and escape chars on NextMatch
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 2 Mar 2026 16:40:57 +0000 (17:40 +0100)
committerJonathan Corbet <corbet@lwn.net>
Tue, 3 Mar 2026 17:47:25 +0000 (10:47 -0700)
commit134468b0e2043efec4bd25dc6bcef238358a8111
tree9baa984a0527818e6232b6f9f3cd561ab293e8bb
parent4ff59bdd93f0e80b5014977502d082c778f96304
docs: kdoc_re: handle strings and escape chars on NextMatch

The logic inside NestedMatch currently doesn't consider that
function arguments may have chars and strings, which may
eventually contain delimiters.

Add logic to handle strings and escape characters on them.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <ac25335bc2d09649e17d1c86c17d3f8f2e8ec27c.1772469446.git.mchehab+huawei@kernel.org>
tools/lib/python/kdoc/kdoc_re.py