renamed toggle to parse
check for regex and key binding abort