@@ -0,0 +1,1068 @@
+def example_1():%0A    names = %5B'Dat1.csv', 'Dat2.csv', 'config.ini', 'foo.py'%5D%0A%0A    from fnmatch import fnmatch, fnmatchcase%0A    print(fnmatch('foo.txt', '*.txt'))%0A    print(fnmatch('foo.txt', '?oo.txt'))%0A    print(fnmatch('Dat45.csv', 'Dat%5B0-9%5D*'))%0A    print(%5Bname for name in names if fnmatch(name, 'Dat*.csv')%5D)%0A%0A%0Adef example_2():%0A    from fnmatch import fnmatch, fnmatchcase%0A%0A    print(fnmatch('foo.txt', '*.txt'))%0A    print(fnmatch('foo.txt', '*.TXT'))%0A    print(fnmatch('foo.txt', '*.TXT'))%0A%0A%0Adef example_3():%0A    addresses = %5B%0A        '5412 N CLARK ST',%0A        '1060 W ADDISON ST',%0A        '1039 W GRANVILLE AVE',%0A        '2122 N CLARK ST',%0A        '4802 N BROADWAY'%0A    %5D%0A%0A    from fnmatch import fnmatchcase%0A    print(%5Baddr for addr in addresses if fnmatchcase(addr, '* ST')%5D)%0A    print(%5Baddr for addr in addresses if fnmatchcase(addr,%0A                                                     '54%5B0-9%5D%5B0-9%5D *CLARK*')%5D)%0A%0A%0A%0Aif __name__ == '__main__':%0A    example_1()%0A    print(75 * '-')%0A%0A    example_2()%0A    print(75 * '-')%0A    %0A    example_3()%0A    print(75 * '-')%0A

add data for recipe 2.3