syntax:pattern

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
syntax:pattern [2015/08/13 03:53]
bill_thomson
syntax:pattern [2017/02/08 15:11]
fgrose [Extended pattern language] give example list
Line 63: Line 63:
 ===== Extended pattern language ===== ===== Extended pattern language =====
  
-If you set the [[internals:​shell_options | shell option]] ''​extglob'',​ Bash understands some powerful patterns. A ''<​PATTERN-LIST>''​ is one or more patterns, separated by the pipe-symbol (''​|''​).+If you set the [[internals:​shell_options | shell option]] ''​extglob'',​ Bash understands some powerful patterns. A ''<​PATTERN-LIST>''​ is one or more patterns, separated by the pipe-symbol (''​PATTERN|PATTERN''​).
  
 |''?​(<​PATTERN-LIST>​)''​|Matches **zero or one** occurrence of the given patterns| |''?​(<​PATTERN-LIST>​)''​|Matches **zero or one** occurrence of the given patterns|
  • syntax/pattern.txt
  • Last modified: 2021/10/21 00:52
  • by fgrose