From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: zsh-users@zsh.org
Subject: Matching beginning and end of word
Date: Thu, 8 Oct 2015 09:51:44 +0200 [thread overview]
Message-ID: <CAKc7PVCzoPWBkqYYxE85tndwWT9nY35QSMdg9WPv7A3ofVDuoA@mail.gmail.com> (raw)
Hello,
in vim \< and \> match agains beginning and end of word. They work
like ^ and $ but for words, not lines. How to obtain this in Zsh? So
that in string like "abc_cd" the "cd" would not be matched, and in
"abc cd" only "cd" would be matched.
Best regards,
Sebastian Gniazdowski
next reply other threads:[~2015-10-08 7:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-08 7:51 Sebastian Gniazdowski [this message]
2015-10-08 9:23 ` Peter Stephenson
2015-10-08 16:46 ` Bart Schaefer
2015-10-08 17:44 ` not an error? Ray Andrews
2015-10-08 19:22 ` Bart Schaefer
2015-10-08 19:56 ` Ray Andrews
2015-10-08 20:14 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKc7PVCzoPWBkqYYxE85tndwWT9nY35QSMdg9WPv7A3ofVDuoA@mail.gmail.com \
--to=sgniazdowski@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).