mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Fix trailing backslash after complex options
This commit is contained in:
parent
cf7a6a6a65
commit
855a119654
1 changed files with 3 additions and 1 deletions
|
@ -414,6 +414,8 @@ s/\n[^\<@][^\\]*\\//
|
||||||
s/\n[^\<@][^\\]*//
|
s/\n[^\<@][^\\]*//
|
||||||
s/^\\//
|
s/^\\//
|
||||||
s/\n$//g
|
s/\n$//g
|
||||||
|
s/\\\n/\
|
||||||
|
/
|
||||||
}
|
}
|
||||||
#.
|
#.
|
||||||
# Swap the buffers back.
|
# Swap the buffers back.
|
||||||
|
@ -425,7 +427,7 @@ s/\([^{|] *\)|/\1@redr{|}/g
|
||||||
s/&$/@redr{\&}/
|
s/&$/@redr{\&}/
|
||||||
s/\([^{&] *\)&[^a-z]/\1@redr{\&}/g
|
s/\([^{&] *\)&[^a-z]/\1@redr{\&}/g
|
||||||
s/\([^{<>^] *\)\([0-9]* *[<>^][<>^]*[^@][a-zA-Z0-9._-]*\)/\1@redr{\2}/g
|
s/\([^{<>^] *\)\([0-9]* *[<>^][<>^]*[^@][a-zA-Z0-9._-]*\)/\1@redr{\2}/g
|
||||||
#s/\\}/}\\/g
|
s/\\}/}\\/g
|
||||||
#.
|
#.
|
||||||
# Now we can add in 'unsafe' entities that would be too greedy.
|
# Now we can add in 'unsafe' entities that would be too greedy.
|
||||||
# Declared Variables
|
# Declared Variables
|
||||||
|
|
Loading…
Reference in a new issue