summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2025-04-08 18:09:09 +0800
committerJonathan Corbet <corbet@lwn.net>2025-04-09 12:10:33 -0600
commit01d3235dde9042c3df9008a0ff43a2aed1641ddf (patch)
treef31098e6e9f4e668e562482c0e05fd6a7c3cb082 /scripts/lib
parent3592385668c3a32638a84557df999d7146cc3bb6 (diff)
scripts/kernel-doc.py: properly handle struct_group macros
Handing nested parenthesis with regular expressions is not an easy task. It is even harder with Python's re module, as it has a limited subset of regular expressions, missing more advanced features. We might use instead Python regex module, but still the regular expressions are very hard to understand. So, instead, add a logic to properly match delimiters. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/74dee485f70b7ce85e90496bfdd360283a677a58.1744106241.git.mchehab+huawei@kernel.org
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions