Skip to content

Commit e260514

Browse files
tammojanwjakob
authored andcommitted
Allow special characters in one-word markup
1 parent eec43da commit e260514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pybind11_mkdoc/mkdoc_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def process_comment(comment):
111111
result = result2
112112

113113
# Doxygen tags
114-
cpp_group = r'([\w:]+)'
114+
cpp_group = r'([^\s]+)'
115115
param_group = r'([\[\w:,\]]+)'
116116

117117
s = result

0 commit comments

Comments
 (0)