Update regression.lua

Improved in-code documentation