expr: Add internal get_sub, to get sub-expr offset