1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-18 16:41:58 +00:00

occurences -> occurrences

This commit is contained in:
Semen Zhydenko 2018-02-04 17:19:44 +01:00
parent 00697934e9
commit 71d9b7be01

View File

@ -175,8 +175,8 @@ ${variable//pattern/string} # the longest match to pattern in variable is repla
${#varname} # returns the length of the value of the variable as a character string ${#varname} # returns the length of the value of the variable as a character string
*(patternlist) # matches zero or more occurences of the given patterns *(patternlist) # matches zero or more occurrences of the given patterns
+(patternlist) # matches one or more occurences of the given patterns +(patternlist) # matches one or more occurrences of the given patterns
?(patternlist) # matches zero or one occurence of the given patterns ?(patternlist) # matches zero or one occurence of the given patterns
@(patternlist) # matches exactly one of the given patterns @(patternlist) # matches exactly one of the given patterns
!(patternlist) # matches anything except one of the given patterns !(patternlist) # matches anything except one of the given patterns