Permit tab completion of pattern expressions with ~y (labels).
Thanks to David Champion for the original patch. This version is slightly different, as I couldn't get the original patch working. This version simply scans backward for the first ~, and if it is ~y, invokes completion.
Showing with 20 additions and 1 deletion