Used when a custom regular expression is needed. Searches the value for a match to the regular expression given in pattern.
| Parameters | |||
|---|---|---|---|
						mixed
					 | 
					
$value					 | 
					The value being checked  | 
					# | 
						string
					 | 
					
$pattern					 | 
					The pattern to search for, as a string  | 
					# | 
| Returns | |
|---|---|
					mixed
				 | 
				
					 
  |