(self, pattern, markdown_instance=None)
Create an instant of an inline pattern.

        Keyword arguments:

        * pattern: A regular expression that matches a pattern
Create an instant of an inline pattern.
Create an instant of an inline pattern .
def __init__(self, pattern, markdown_instance=None):
        """
        Create an instant of an inline pattern.

        Keyword arguments:

        * pattern: A regular expression that matches a pattern

        """
        self.pattern = pattern
        self.compiled_re = re.compile("^(.*?)%s(.*?)$" % pattern, 
                                      re.DOTALL | re.UNICODE)

        # Api for Markdown to pass safe_mode into instance
        self.safe_mode = False
        if markdown_instance:
            self.markdown = markdown_instance
def __init__ ( self , pattern , markdown_instance = None ) : self . pattern = pattern self . compiled_re = re . compile ( "^(.*?)%s(.*?)$" % pattern , re . DOTALL | re . UNICODE ) # Api for Markdown to pass safe_mode into instance self . safe_mode = False if markdown_instance : self . markdown = markdown_instance