Skip to content
Commit fed50634 authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

fix documentation detection with excess spacing

Previously we'd not take trailing spaces after the last argument into
account and prevent `(... SUBDIR foo    )` from matching. The regex now
gobbles up trailing spaces.
Added a test case with super excessive spacing to make sure this works.
Also adjusted the manpage fixture to employ fairly excessive spacing and
make sure space matching works as well for manpages.

CCMAIL: andrius@stikonas.eu
parent 2f2bf9a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment