Yes, it is stupid but I am debugging some poorly written C++ code so I cannot change it. It was easier for me to use python to try various combinations (since the C++ code uses a non-standard re engine). I just chanced upon the problem and was curious as to what Python was up to. Thanks for clearing that up.