You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The xfnm_subst function performed substitution of an empty match only
when XFNM_HEADTAIL was set, which was not consistent with the behavior
for other flags. This commit changes the function to always substitute
an empty match like any other match, and when substituting all matches,
one character is skipped after each empty match to ensure progress. This
allows `${var/#/prefix}` and `${var/%/suffix}` to prefix and suffix the
value, respectively.
0 commit comments