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?

Reply via email to