Thank you both! Indeed, I simply wrote = pathsplit.tail.replace(re"^[\!\+\-]+\s", "") Run
without importing any regexp library explicitly, and it works fine.
Thank you both! Indeed, I simply wrote = pathsplit.tail.replace(re"^[\!\+\-]+\s", "") Run
without importing any regexp library explicitly, and it works fine.