What is the meaning of /i at the tail of this regex?
/i
var time = /^([1-9]|1[0-9]):([0-5][0-9])(s[a|p]m)$/i;
/i stands for ignore case in the given string. Usually referred to as case-insensitive as pointed out in the comment.
1.4m articles
1.4m replys
5 comments
57.0k users