We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 889986a commit 9868ce5Copy full SHA for 9868ce5
tools/doc/html.js
@@ -416,7 +416,7 @@ const BSD_ONLY_SYSCALLS = new Set(['lchmod']);
416
// '<a href="http://man7.org/linux/man-pages/man2/open.2.html">open(2)</a>'
417
function linkManPages(text) {
418
return text.replace(
419
- / ([a-z.]+)\((\d)([a-z]?)\)/gm,
+ /\b([a-z.]+)\((\d)([a-z]?)\)/gm,
420
(match, name, number, optionalCharacter) => {
421
// name consists of lowercase letters, number is a single digit
422
const displayAs = `${name}(${number}${optionalCharacter})`;
0 commit comments