#NEWLINE# def __init__( self , pattern , markdown_instance = None ) : #NEWLINE# #INDENT# '\n        Create an instant of an inline pattern.\n\n        Keyword arguments:\n\n        * pattern: A regular expression that matches a pattern\n\n        ' #NEWLINE# self . pattern = pattern #NEWLINE# self . compiled_re = re . compile ( ( '^(.*?)%s(.*?)$' % pattern ) , re . DOTALL ) #NEWLINE# self . safe_mode = False #NEWLINE# if markdown_instance : #NEWLINE# #INDENT# self . markdown = markdown_instance