Skip to content

Commit bf77c2f

Browse files
committed
fix(_comp_dequote): [fixup] allow i18n strings
1 parent c790306 commit bf77c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bash_completion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ _comp_dequote__initialize()
163163
{
164164
unset -f "$FUNCNAME"
165165
local param='\$([_a-zA-Z][_a-zA-Z0-9]*|[-*@#?$!0-9_])|\$\{[!#]?([_a-zA-Z][_a-zA-Z0-9]*(\[([0-9]+|[*@])\])?|[-*@#?$!0-9_])\}'
166-
local quote='\\.|'\''[^'\'']*'\''|"([^\"$`!]|'$param'|\\.)*"|\$'\''([^\'\'']|\\.)*'\'''
166+
local quote='\\.|'\''[^'\'']*'\''|\$?"([^\"$`!]|'$param'|\\.)*"|\$'\''([^\'\'']|\\.)*'\'''
167167
_comp_dequote__regex_safe_word='^([^\'\''"$`;&|<>()!]|'$quote'|'$param')*$'
168168
}
169169
_comp_dequote__initialize

0 commit comments

Comments
 (0)