*** ../bash-5.2-patched/expr.c 2022-07-11 10:03:34.000000000 -0400 --- expr.c 2022-10-31 10:51:08.000000000 -0400 *************** *** 1169,1172 **** --- 1169,1174 ---- #if defined (ARRAY_VARS) aflag = tflag; /* use a different variable for now */ + if (shell_compatibility_level > 51) + aflag |= AV_ATSTARKEYS; v = (e == ']') ? array_variable_part (tok, tflag, (char **)0, (int *)0) : find_variable (tok); #else