Code:
alias testcase {
  var %regex = /^$/
  echo -a -- $regex(%regex,$null) ; verify regex matches
  hadd -m testcase %regex 42
  echo -a -- $hfind(testcase,$null,0,R) ; <--- bug here; $hfind returns non-numeric value when it should return 1
}