Fix env var pattern.

Before the regex for matching environment variables was to allowing. For
example if you had a variable

export A_DIR=yadyade

it would be listed with the l() function as the pattern did match this
variable.