From a9795174f9de7a1c96517c205ff2be63eb15ebe0 Mon Sep 17 00:00:00 2001 From: disarmer mk Date: Wed, 19 Oct 2016 18:35:00 +0300 Subject: [PATCH] fixes after review part 2 --- HACKING.md | 5 +++++ docs/highlighters/regexp.md | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/HACKING.md b/HACKING.md index 39d82fa..0e568e0 100644 --- a/HACKING.md +++ b/HACKING.md @@ -61,6 +61,11 @@ itself as third word (cf. the [documentation for `expected_region_highlight`] "1 8 fg=white,bold,bg=red" # rm -rf / ) +Testing the `regexp` highlighter +--------------------------------- + +Same as `pattern` highlighter + Miscellany ---------- diff --git a/docs/highlighters/regexp.md b/docs/highlighters/regexp.md index 3e7f968..36f0691 100644 --- a/docs/highlighters/regexp.md +++ b/docs/highlighters/regexp.md @@ -2,8 +2,8 @@ zsh-syntax-highlighting / highlighters / regexp ------------------------------------------------ This is the `regexp` highlighter, that highlights user-defined regular -expressions. It's similar to the [`pattern`](pattern.md) highlighter, but -allows more complex patterns. +expressions. It's similar to the `pattern` highlighter, but allows more complex +patterns. ### How to tweak it @@ -20,8 +20,8 @@ the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` manual page][zshzle-Character-Highlighting]. See also: [regular expressions tutorial][perlretut], zsh regexp operator `=~` -in [the `zshmisc(1)` manual page][zsh-man-regexp] +in [the `zshmisc(1)` manual page][zshmisc-Conditional-Expressions] [zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting [perlretut]: http://perldoc.perl.org/perlretut.html -[zsh-man-regexp]: http://zsh.sourceforge.net/Doc/Release/Conditional-Expressions.html#Conditional-Expressions +[zshmisc-Conditional-Expressions]: http://zsh.sourceforge.net/Doc/Release/Conditional-Expressions.html#Conditional-Expressions