diff options
Diffstat (limited to 'Demo')
-rwxr-xr-x | Demo/comparisons/regextest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/comparisons/regextest.py b/Demo/comparisons/regextest.py index fbc5f6c..b27d741 100755 --- a/Demo/comparisons/regextest.py +++ b/Demo/comparisons/regextest.py @@ -43,4 +43,5 @@ def main(): def chomp(s): return s.rstrip('\n') -main() +if __name__ == '__main__': + main() |