[JM:02166] マニュアル誤記&Webページ異常:regex

Back to archive index
levelevel level****@gmail*****
2021年 4月 29日 (木) 12:24:49 JST


まず
https://linuxjm.osdn.jp/html/LDP_man-pages/man3/regex.3.html
https://linuxjm.osdn.jp/html/LDP_man-pages/man7/regex.7.html
ですが、「^」であるべき箇所がすべて「ha」になっています。
Ubuntu上のmanの表示は正常なのでWebページの問題だと思います。
なお
https://linuxjm.osdn.jp/html/GNU_grep/man1/grep.1.html
は「^」が正常に表示されています。

次に
https://linuxjm.osdn.jp/html/LDP_man-pages/man7/regex.7.html
ですが、「説明」の最後から2段落目の最後の文:
「 '*' は、正規表現の先頭か、括弧でくくられた部分文字列の先頭に置かれた場合は通常の文字となる ('^') が前置されていてもよい)。」
は文として不自然で、最後の「)」の対応がありません。
原文は「... (after a possible leading '^').」なの以下のようになるのが正しいと思います。
「 ...通常の文字となる ('^' が前置されていてもよい)。」

-- 
EMURA 'level' Hideyuki
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <https://lists.osdn.me/mailman/archives/linuxjm-discuss/attachments/20210429/4c34d004/attachment.html>


linuxjm-discuss メーリングリストの案内
Back to archive index