in reply to Re: Question regarding a regex
in thread Question regarding a regex
Outside square brackets, it [caret] matches the beginning of the string or immediately after a newline.
By default, ^ (caret) outside a character class matches only at the beginning of a string, exactly as \A does. Caret (outside a character class) also matches immediately after an embedded newline if the /m modifier is asserted. See Modifiers in perlre.
Give a man a fish: <%-{-{-{-<
|
|---|