Stumped by this one O_o...
if(preg_match("(\d{1,2})\:(\d{2})", "5:00", $matches) == 1) echo "works";
else echo "don't work";
Will echo
don't work
But the same regex on Regex 101 seems to work fine: http://regex101.com/r/mW1dN9
Do I need a global flag or something?