functions-online

Comments

Last comments of user brunchika

On 03. Mar 2013 13:58 brunchika wrote at preg_match:

Good testing functionality, however, I noticed that the input in the $pattern field must be within single or double quotes otherwise an error is posted. Curiously however the $subject field doesn't have to be within quotes. So that was the bit of inconsistency I noticed. Note: The quotes on both fields are added automatically after the run button is pressed therefore why the need of quotes in the $pattern input field?