Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Matching beginning and end of word



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