Fix "invalid escape sequences" error on Python 3.6
This commit is contained in:
		
							parent
							
								
									24d8a75982
								
							
						
					
					
						commit
						ec85ded83c
					
				
					 283 changed files with 538 additions and 538 deletions
				
			
		| 
						 | 
				
			
			@ -12,7 +12,7 @@ class MetadataFromTitlePP(PostProcessor):
 | 
			
		|||
        self._titleregex = self.format_to_regex(titleformat)
 | 
			
		||||
 | 
			
		||||
    def format_to_regex(self, fmt):
 | 
			
		||||
        """
 | 
			
		||||
        r"""
 | 
			
		||||
        Converts a string like
 | 
			
		||||
           '%(title)s - %(artist)s'
 | 
			
		||||
        to a regex like
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue