I have several lines of texts, for example, two of them below:
a[15].s16.l = (xy[11].s16.l > (50/*QUE-const:VECTWord->CC_Init_P*/))
xyz = Exh[(16/*QUE-const:VECT_dir->_num_P*/) & 0x0FU ];*/))
I want to match the line which is having "QUE-const" and ends with "_P" within square brackets [].
I wrote following regex:
\[.*QUE-const.*_P.*
but it is matching both the lines, rather it should match only second line.
Please check and coorect where I'm going wrong.