var str = "For more information, see Chapter 3.4.5.1";
var re = /see (chapter \d+(\.\d)*)/i;
var found = str.match(re);
console.log(found);
Why (\.\ d) finally matches .1 , shouldn"t it be .4.5.1 ? It doesn"t make sense.
Please correct me.
