stash
try to improve do-end regex