]> Gentwo Git Trees - linux/.git/commit
docs: kdoc: remove a couple of spurious regex characters
authorJonathan Corbet <corbet@lwn.net>
Fri, 5 Sep 2025 21:53:05 +0000 (15:53 -0600)
committerJonathan Corbet <corbet@lwn.net>
Thu, 18 Sep 2025 16:19:53 +0000 (10:19 -0600)
commitfee63c8f10c2fe77f618f9955c2f5521ff9cc622
tree95905d10257cbe83e7b9a56a90320b721a01a23a
parenta2752f8c631201e189f501fc4d320354efa3e72e
docs: kdoc: remove a couple of spurious regex characters

The "name" regex in dump_function() includes both the tilde and colon
characters, but neither has any place in function prototypes.  Remove the
characters, after which the regex simplifies to "\w+"

No output changes.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/lib/kdoc/kdoc_parser.py