Fix call of expression functions.
Fix lua expressions in regexp plugin.
Fix some warnings.