#1: Remove _closing_paren regex as it doesn't make sense
This commit is contained in:
parent
269f57e8c0
commit
da63123229
1 changed files with 1 additions and 3 deletions
|
|
@ -19,15 +19,13 @@ _control_op () {
|
||||||
_bg_proc_or_and_and='[^&;]&&?' \
|
_bg_proc_or_and_and='[^&;]&&?' \
|
||||||
_pipe_or_or_or='[^&|;]\|\|?' \
|
_pipe_or_or_or='[^&|;]\|\|?' \
|
||||||
_semicolon_or_case_operators='[^;|];;?&?' \
|
_semicolon_or_case_operators='[^;|];;?&?' \
|
||||||
_opening_paren='[^[:alnum:]]\(' \
|
_opening_paren='[^[:alnum:]]\('
|
||||||
_closing_paren='\)'
|
|
||||||
declare _control_op="^"
|
declare _control_op="^"
|
||||||
_control_op+="|$_newline"
|
_control_op+="|$_newline"
|
||||||
_control_op+="|$_bg_proc_or_and_and"
|
_control_op+="|$_bg_proc_or_and_and"
|
||||||
_control_op+="|$_pipe_or_or_or"
|
_control_op+="|$_pipe_or_or_or"
|
||||||
_control_op+="|$_semicolon_or_case_operators"
|
_control_op+="|$_semicolon_or_case_operators"
|
||||||
_control_op+="|$_opening_paren"
|
_control_op+="|$_opening_paren"
|
||||||
_control_op+="|$_closing_paren"
|
|
||||||
printf %s "$_control_op"
|
printf %s "$_control_op"
|
||||||
}
|
}
|
||||||
_control_op="$(_control_op)"
|
_control_op="$(_control_op)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue