well, i thought it didnt matter in this case either way as whatever is captured here is what i want ... but i guess adding capturing brackets to make it explicit is better practise.
... and also the same with using ( ) for undef
am learning ... thanks

In reply to Re^3: find acronyms in a text by arun_kom
in thread find acronyms in a text by steph_bow

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":