- Added email pattern matcher
This commit is contained in:
		
							parent
							
								
									f87bccb3ab
								
							
						
					
					
						commit
						5b7da3237f
					
				| @ -68,6 +68,8 @@ return [ | |||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|  |             $router->addPatternMatcher('email', '[^@ \t\r\n]+@[^@ \t\r\n]+\.[^@ \t\r\n]+'); | ||||||
|  | 
 | ||||||
|             $routing = $container->get(Lean\Routing::class); |             $routing = $container->get(Lean\Routing::class); | ||||||
|             $routing->registerRoute($container, getenv('URL_BASE')); |             $routing->registerRoute($container, getenv('URL_BASE')); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user