Please see my update to Re: How to match last character of string, even if it happens to be a newline?. Also consider using \z to represent | assert absolute end of string.
Give a man a fish: <%-{-{-{-<
In reply to Re^3: How to match last character of string, even if it happens to be a newline?
by AnomalousMonk
in thread How to match last character of string, even if it happens to be a newline?
by Allasso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |