Custom pseudo method for skipping a given char around a string.
        
        The default char to be skipped is the new line (\n) one.
        
        Example:
            '\nHello\n' would call ``_base_compile`` with 'Hello' only.

def _skip_char_around(self, string, char='\n'):
        """
        Custom pseudo method for skipping a given char around a string.
        
        The default char to be skipped is the new line (\n) one.
        
        Example:
            '\nHello\n' would call ``_base_compile`` with 'Hello' only.
        """
        starts, ends = '', ''
        n = len(char)
        if string.startswith(char):
            starts = string[:n]
            string = string[n:]
        if string.endswith(char):
            ends = string[-n:]
            string = string[:-n]
        string = self._base_compile(string)
        if starts:
            string = starts + string
        if ends:
            string = string + ends
        return string