fix regex
This commit is contained in:
		
				
					committed by
					
						 Ahmad Abdolsaheb
						Ahmad Abdolsaheb
					
				
			
			
				
	
			
			
			
						parent
						
							aa1acbe68f
						
					
				
				
					commit
					1f1c58ae18
				
			| @@ -30,7 +30,7 @@ In the <code>penguin</code> class, create a variable name <code>--penguin-skin</ | |||||||
| ```yml | ```yml | ||||||
| tests: | tests: | ||||||
|   - text: <code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>gray</code>. |   - text: <code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>gray</code>. | ||||||
|     testString: assert(code.match(/.penguin\s*?{[\s\S]*--penguin-skin\s*?:\s*?gray\s*?;[\s\S]*}/gi)); |     testString: assert(code.match(/\.penguin\s*\{[^{}]*?--penguin-skin\s*:\s*gr[ae]y\s*;[^{}]*?\}/gi)); | ||||||
|  |  | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user