mirror of
				https://github.com/zsh-users/zsh-syntax-highlighting.git
				synced 2025-10-30 15:56:28 +08:00 
			
		
		
		
	fixes after review part 2
This commit is contained in:
		
							parent
							
								
									f12e1620aa
								
							
						
					
					
						commit
						a9795174f9
					
				@ -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
 | 
			
		||||
----------
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user