#1: Allow _opening_paren control operator at the beginning of a line

This commit is contained in:
tsi 2025-10-21 00:40:59 +02:00
parent da63123229
commit bc3f414ab8
No known key found for this signature in database

View file

@ -19,7 +19,7 @@ _control_op () {
_bg_proc_or_and_and='[^&;]&&?' \
_pipe_or_or_or='[^&|;]\|\|?' \
_semicolon_or_case_operators='[^;|];;?&?' \
_opening_paren='[^[:alnum:]]\('
_opening_paren='(^|[^[:alnum:]])\('
declare _control_op="^"
_control_op+="|$_newline"
_control_op+="|$_bg_proc_or_and_and"