diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2025-04-08 10:09:09 +0000 |
|---|---|---|
| committer | Jonathan Corbet <[email protected]> | 2025-04-09 18:10:33 +0000 |
| commit | 01d3235dde9042c3df9008a0ff43a2aed1641ddf (patch) | |
| tree | f31098e6e9f4e668e562482c0e05fd6a7c3cb082 /scripts/lib | |
| parent | scripts/kernel-doc.py: better handle empty sections (diff) | |
| download | kernel-01d3235dde9042c3df9008a0ff43a2aed1641ddf.tar.gz kernel-01d3235dde9042c3df9008a0ff43a2aed1641ddf.zip | |
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 <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
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
