Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Matching beginning and end of word
- X-seq: zsh-users 20707
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Matching beginning and end of word
- Date: Thu, 8 Oct 2015 09:51:44 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=8074WwDvE0Va/vdsaXYoOzXd6al9+YqENs6p+fEQ7lM=; b=FzRgf6PeA5qQjP3De+U9npv5zwY9ZDuJsx0pjF2R83gW5xVJfdm0+NQUT5OtAupZ0K piRkp4JTxaya6VVaQQuKle8cHzZBe2nI7866L56FTh4GijDnSJmDFzlXTepVvsyV1JvY I/fmcWinJrzl/y2Qo/ZQODJ84uj4SfHc0AMtlGQ7qT/aG93lBhrdaeqE2UiPxal1CpKu grZnqhYSCNpuvBlCW2beUP6p6l8XGgp9ggajEEdj6cP+77y0mPfoNOWBBQMoaYutbrgH dJFTpDCcT8Gmzu1TJUJiuxtT4IWWY7hNvyEBAXDWFM3P9+rgFC0gqDa3kfC5A4rmiFtV Vagw==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author