Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Multiline Regex Issue

by moritz (Cardinal)
on Feb 02, 2012 at 19:11 UTC ( #951510=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://951510]
help
Chatterbox?
[choroba]: infinite transition implies infinite money!
[LanX]: ... ehm ..."open ended" ;-)
[LanX]: anyway ... the (official) leave date is in March 2019
[marto]: choroba no :P

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2018-02-23 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (301 votes). Check out past polls.

    Notices?