How do I put this regex in case insensitive?
var message_id = result.match(/Message-Id\:(.*)/)[1].replace(/^\s+/, '');
开发者_开发知识库
Thanks
With the i
flag:
/Message-Id\:(.*)/i
// ^
Documentation →
How do I put this regex in case insensitive?
var message_id = result.match(/Message-Id\:(.*)/)[1].replace(/^\s+/, '');
开发者_开发知识库
Thanks
With the i
flag:
/Message-Id\:(.*)/i
// ^
Documentation →
精彩评论