@@ -0,0 +1,770 @@
+def example_1():%0A    text1 = '/* this is a comment */'%0A    text2 = '''/* this is a%0A                  multiline comment */%0A    '''%0A%0A    import re%0A    comment_pattern = re.compile(r'/%5C*(.*?)%5C*/')%0A    print(comment_pattern.findall(text1))%0A    print(comment_pattern.findall(text2))%0A%0A%0Adef example_2():%0A    text = '''/* this is a%0A                  multiline comment */%0A    '''%0A%0A    import re%0A    comment_pattern = re.compile(r'/%5C*((?:.%7C%5Cn)*?)%5C*/')%0A    print(comment_pattern.findall(text))%0A%0A%0Adef example_3():%0A    text = '''/* this is a%0A                  multiline comment */%0A    '''%0A%0A    import re%0A    comment_pattern = re.compile(r'/%5C*(.*?)%5C*/', re.DOTALL)%0A    print(comment_pattern.findall(text))%0A%0A%0Aif __name__ == '__main__':%0A    example_1()%0A    example_2()%0A    example_3()%0A%0A

add code samples for recipe 2.8