Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Regular Expression tricky newline problem

by bobf (Monsignor)
on Jan 02, 2006 at 22:16 UTC ( #520467=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $data =~ m/Line3 : (.*?)\n/s;
    
  2. or download this
    $data =~ m/Line3 : ([^\n]*)/s;
    
  3. or download this
    use warnings;
    use strict;
    ...
    Line2 : Dit is de tweede regel
    Line3 : Dit is de derde regel
    Line4 : Dit is de vierde regel
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://520467]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-12-29 16:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (193 votes), past polls