in reply to Multiline Regex Issue

The /m modifier only affects how ^ and $ work, so it's useless for you. You need /s, which makes the dot match newlines too.

Replies are listed 'Best First'.
Re^2: Multiline Regex Issue
by kennethk (Abbot) on Feb 02, 2012 at 19:22 UTC
    Obligatory docs link: Modifiers

    The OP's input looks suspiciously like JSON, in which case they should consider using the JSON module.

Re^2: Multiline Regex Issue
by jaldama (Acolyte) on Feb 02, 2012 at 21:52 UTC
    n00b mistake