[vim/vim] fix(manpager): use \x07 instead of \a for BEL in OSC 8 regex (PR #19806)

5 views
Skip to first unread message

mattn

unread,
2:23 AM (21 hours ago) 2:23 AM
to vim/vim, Subscribed

Fix the OSC 8 hyperlink stripping regex in manpager plugin. \a in Vim's regex matches [A-Za-z], not the BEL character (0x07), which caused man page content to be incorrectly removed. Use \x07 / %x07 instead.

Closes #19794


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19806

Commit Summary

  • 7d30405 fix(manpager): use \x07 instead of \a for BEL in OSC 8 regex

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19806@github.com>

Christian Brabandt

unread,
3:44 PM (8 hours ago) 3:44 PM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19806)

thanks


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19806/c4120906873@github.com>

Christian Brabandt

unread,
3:50 PM (7 hours ago) 3:50 PM
to vim/vim, Subscribed

Closed #19806 via a603175.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19806/issue_event/23865391645@github.com>

Reply all
Reply to author
Forward
0 new messages