Thank you very much for your help indeed there was a precedence issue so $record =~ /^start\b$/ .. $record =~ /^end\b$/ fixed the issue...many thanks indeed. and as for the "\b" in the regex yes you are right its not needed, thank you.
In reply to Re^2: how to extract text between 2 strings on separate lines
by ozosan
in thread how to extract text between 2 strings on separate lines
by ozosan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |