help implemented. TODO: found an issue with write regex on macOS