diff bin/whatis @ 11850:cfb04b3810bf draft

<wob_jonas> fetch bin/whatis https://hack.esolangs.org/get/bin/whatis
author HackEso <hackeso@esolangs.org>
date Tue, 16 Jul 2019 15:18:48 +0000
parents fb7d032ba453
children 97b02eed7f57
line wrap: on
line diff
--- a/bin/whatis	Tue Jul 16 15:17:09 2019 +0000
+++ b/bin/whatis	Tue Jul 16 15:18:48 2019 +0000
@@ -13,7 +13,7 @@
             if parts:
                 match = False
                 for argfold in argfoldv:
-                    match = match or argfold == parts[1].casefold()
+                    match = match or argfold == parts.group(1).casefold()
                 if match:
                     sys.stdout.write(line)