]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/infinite_loop_re.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / crashers / infinite_loop_re.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/infinite_loop_re.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/infinite_loop_re.py
deleted file mode 100644 (file)
index ffa4d7b..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-\r
-# This was taken from http://python.org/sf/1541697\r
-# It's not technically a crasher.  It may not even truly be infinite,\r
-# however, I haven't waited a long time to see the result.  It takes\r
-# 100% of CPU while running this and should be fixed.\r
-\r
-import re\r
-starttag = re.compile(r'<[a-zA-Z][-_.:a-zA-Z0-9]*\s*('\r
-        r'\s*([a-zA-Z_][-:.a-zA-Z_0-9]*)(\s*=\s*'\r
-        r'(\'[^\']*\'|"[^"]*"|[-a-zA-Z0-9./,:;+*%?!&$\(\)_#=~@]'\r
-        r'[][\-a-zA-Z0-9./,:;+*%?!&$\(\)_#=~\'"@]*(?=[\s>/<])))?'\r
-    r')*\s*/?\s*(?=[<>])')\r
-\r
-if __name__ == '__main__':\r
-    foo = '<table cellspacing="0" cellpadding="0" style="border-collapse'\r
-    starttag.match(foo)\r