[Scripts > Strip] Fix removing spaces in Regex
This commit is contained in:
		
							parent
							
								
									86c17ca29f
								
							
						
					
					
						commit
						a3aeadc9e8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -24,7 +24,7 @@ const stripCode = (code) => code | |||
|   .replaceAll('else ', 'else~') | ||||
|   .replaceAll('false', '!1') | ||||
|   .replaceAll('true', '!0') | ||||
|   .replace(/((['"`])[\s\S]*?\2)|[ \n]/g, (_, g1) => g1 || '') | ||||
|   .replace(/((['"`/])[\s\S]*?\2)|[ \n]/g, (_, g1) => g1 || '') | ||||
|   .replaceAll('~', ' ') | ||||
|   .replaceAll('? ?', '??'); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue