Condition: partly revert 5768bd9, flag expressions are supported by python3 re