In my original persual of the OP, I missed the phrase "last occurence" [sic] and was beguiled by the phrases "Matching ... at EOF" and "match ... at the very end of the input file". Starting from my assumption that the entire file had been slurped into a string, I strayed into a consideration of \z et al.
I now recognize my error.
In reply to Re^4: Matching Regular expression at EOF
by AnomalousMonk
in thread Matching Regular expression at EOF
by krish28
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |