Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] [[:space:]] and [[:blank:] character classes not working as expected in nvi
@ 2022-08-17 17:29 chase-net
  2022-08-19 13:48 ` abenson
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: chase-net @ 2022-08-17 17:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 886 bytes --]

New issue by chase-net on void-packages repository

https://github.com/void-linux/void-packages/issues/38742

Description:
### Is this a new report?

Yes

### System Info

Void 5.18.17_1 x86_64-musl GenuineIntel notuptodate hold rFFF

### Package(s) Affected

nvi-1.81.6_17

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

Searching should match space and tab characters when using the POSIX character classes [:space:] and [:blank:].

### Actual behaviour

[:space:] and [:blank:] seem to match the [:alnum:] character class.

### Steps to reproduce

1. Start vi. `EXINIT= vi`
2. Insert some text including spaces and alphanumeric characters and return to normal mode. `ia b c d<esc>`
3. Search for the character classes [:space:] or [:blank:]. `/[[:space:]]`
4. Cycle through matches with `n`.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-08-19 18:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-17 17:29 [ISSUE] [[:space:]] and [[:blank:] character classes not working as expected in nvi chase-net
2022-08-19 13:48 ` abenson
2022-08-19 13:49 ` [ISSUE] [CLOSED] " abenson
2022-08-19 16:19 ` sgn
2022-08-19 16:20 ` sgn
2022-08-19 17:32 ` sgn
2022-08-19 17:43 ` chase-net
2022-08-19 18:04 ` sgn
2022-08-19 18:40 ` chase-net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).