fixes after review part 2

This commit is contained in:
disarmer mk 2016-10-19 18:35:00 +03:00
parent f12e1620aa
commit a9795174f9
2 changed files with 9 additions and 4 deletions

View File

@ -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
----------

View File

@ -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