I keep getting an error for this regex:
^((([1-9])|(1[0-2])):([0-5])(0|5)/s(A|P)M)$
It should be for a time ending in 0 or 5. So, here are some of them that should work:
But I keep getting this error message:
Internal error matching pattern '^((([1-9])|(1[0-2])):([0-5])(0|5)/s(A|P)M)$'from value'1:00 PM'
What am I doing wrong?
Ethan source
share