support for regex based expressions