current: use expr for single-line matching
code: use type instead of which