From e2aba7974ef4b4dd738cbbb29a6a93e4fe0721bf Mon Sep 17 00:00:00 2001 From: Nuri Jung Date: Fri, 3 Jul 2020 15:19:38 +0900 Subject: [PATCH] Add some phrases for readability and clarity --- docs/highlighters/regexp.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/highlighters/regexp.md b/docs/highlighters/regexp.md index 3767190..667057b 100644 --- a/docs/highlighters/regexp.md +++ b/docs/highlighters/regexp.md @@ -15,12 +15,13 @@ typeset -A ZSH_HIGHLIGHT_REGEXP ZSH_HIGHLIGHT_REGEXP+=('^rm .*' fg="red",bold) ``` -This will highlight the whole line starting with `rm` (for all operating systems, -in contrast to the below example). +This will highlight the whole line starting with `rm` command (for all +operating systems, in contrast to the below example). -Some regex patterns are [subject to the host platform][MAN_ZSH_REGEX], especially -the kernel. To highlight `sudo` only as a complete word, i.e., `sudo cmd`, but -not `sudoedit`: +Some regular expressions are [subject to the host platform][MAN_ZSH_REGEX], +especially the kernel. To highlight `sudo` only as a complete word, i.e., +`sudo cmd`, but not `sudoedit`, the respective regular expressions for the host +systems would be: * GNU-Linux