mirror of
				https://github.com/severian-dev/sucker.severian.dev.git
				synced 2025-11-04 08:05:40 +00:00 
			
		
		
		
	chore: fixed regex issue
This commit is contained in:
		@@ -53,7 +53,7 @@ function findTagsBetween(content: string, startMarker: string, endMarker: string
 | 
			
		||||
  
 | 
			
		||||
  const matches: PersonaMatch[] = [];
 | 
			
		||||
  
 | 
			
		||||
  const tagPattern = /<([^/>\s][^>]*)>([^]*?)<\/\1>/g;
 | 
			
		||||
  const tagPattern = /<([^/>\s][^>]*)>([\s\S]*?)<\/\1>/g;
 | 
			
		||||
  let match;
 | 
			
		||||
  
 | 
			
		||||
  while ((match = tagPattern.exec(section)) !== null) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user