|
From: | John Cowan |
Subject: | Re: [Bug-ed] Searching for multiple matches with \+ isn't working |
Date: | Wed, 2 Jan 2019 16:07:54 -0500 |
I'm having an issue where using \+ to search for multiple matches isn't working. Am I doing something wrong?
I have GNU ed 1.14.2 installed on the latest macOS through Homebrew (https://brew.sh). Homebrew installed the executable as ged instead of ed, to not overtake the BSD ed that ships with macOS. I mention this so you understand why the command I'm running is ged instead of ed.
I see that 1.15 is in pre-release, but I don't see this issue addressed in the changelogs I'm seeing in the archives of this list.
Here are steps to reproduce:
$ ged -v
# Let's add a couple of lines.
a
foobar
bazfoo
.
# Great! Now, let's search for "o".
g/o/
foobar
bazfoo
# Both lines match. Perfect. Now, let's search for multiple "o"s.
g/o\+/
# Not found? :-(
q
?
Warning: buffer modified
q
Proof of version:
$ ged -V
GNU ed 1.14.2
Copyright (C) 1994 Andrew L. Moore.
Copyright (C) 2017 Antonio Diaz Diaz.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
_______________________________________________
bug-ed mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-ed
[Prev in Thread] | Current Thread | [Next in Thread] |