mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 06:00:54 +01:00 
			
		
		
		
	45073: regex-replace docs: Simplify grammar (avoid a double negative, state defaults first).
This commit is contained in:
		
							parent
							
								
									8bc4400762
								
							
						
					
					
						commit
						48ebe82b48
					
				
					 2 changed files with 9 additions and 3 deletions
				
			
		|  | @ -4284,9 +4284,10 @@ See also the tt(pager), tt(prompt) and tt(rprompt) styles below. | |||
| findex(regexp-replace) | ||||
| item(tt(regexp-replace) var(var) var(regexp) var(replace))( | ||||
| Use regular expressions to perform a global search and replace operation | ||||
| on a variable.  If the option tt(RE_MATCH_PCRE) is not set, POSIX | ||||
| extended regular expressions are used, else Perl-compatible regular | ||||
| expressions (this requires the shell to be linked against the tt(pcre) | ||||
| on a variable.  POSIX extended regular expressions are used, | ||||
| unless the option tt(RE_MATCH_PCRE) has been set, in which case | ||||
| Perl-compatible regular expressions are used | ||||
| (this requires the shell to be linked against the tt(pcre) | ||||
| library). | ||||
| 
 | ||||
| var(var) is the name of the variable containing the string to be matched. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue