(1) Use matchobj.groups(), not matchbj.group() to get all groups.
(2) Provisional hack to avoid dying when trying to turn echo on or off on Macs, where os.system() doesn't exist.
Showing
Please register or sign in to comment
(2) Provisional hack to avoid dying when trying to turn echo on or off on Macs, where os.system() doesn't exist.