in reply to Re: Regex get Text between two strings with colon
in thread Regex get Text between two strings with colon

Thanks for hints. Is there a Solution without modifiers and slurps? Just "pure" regex?
  • Comment on Re^2: Regex get Text between two strings with colon

Replies are listed 'Best First'.
Re^3: Regex get Text between two strings with colon
by AnomalousMonk (Archbishop) on Sep 16, 2017 at 23:24 UTC

    As the Anonymous One has said, modifiers are an entirely kosher part of regexes, and haukex has already linked to a discussion of non-slurping, line-by-line matching.


    Give a man a fish:  <%-{-{-{-<

Re^3: Regex get Text between two strings with colon
by Anonymous Monk on Sep 16, 2017 at 19:49 UTC
    modifiers are "pure regex".

    and if you don't want to slurp, then how do you expect a regex to match over data you haven't read?