Re: I need regex last instance help

[email protected] (ToddAndMargo via perl6-users) Sun, 26 Oct 2025 14:50:03 -0700
Newsgroups perl.perl6.users
Message-ID <[email protected]>
On 10/26/25 7:56 AM, William Michels wrote:
> ^^  has the regex meaning "start-of-line"
> $$  has the regex meaning "end-of-line"
> 
> Compare to:
> 
> ^  has the regex meaning "start-of-string"
> $  has the regex meaning "end-of-string"
> 
> If you're analyzing input linewise (for example using a one-liner with 
> `-ne` or `-pe` flags),
> then start-of-line equals start-of-string, and end-of-line equals end- 
> of-string.
> 
> HTH, Bill.


Can I talk you out of a few examples?