Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: How do I match a string that is NOT at the end of a line?by Laurent_R (Canon) |
on Jun 29, 2015 at 17:52 UTC ( [id://1132504]=note: print w/replies, xml ) | Need Help?? |
Perhaps it is sufficient to just add the . metacharacter at the end of your pattern:
Update: I had not seen that hippo has already suggested this solution. Sorry for duplicating it.
In Section
Seekers of Perl Wisdom
|
|