Error in preg_match PHP
    <?php
    
    $str = "asd,ad";
    if(preg_match(",",$str)) { 
    	echo "ok";
    }
    
    ?
    
It outputs me 

> No ending delimiter ',' found in....

?>


Error in preg_match PHP
===

    <?php
    
    $str = "asd,ad";
    if(preg_match(",",$str)) { 
    	echo "ok";
    }
    
    ?
    
It outputs me 

> No ending delimiter ',' found in....

?>

