Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Regular Expression tricky newline problem

by tirwhan (Abbot)
on Jan 02, 2006 at 22:13 UTC ( #520465=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    use strict;
    ...
    Line2 : Dit is de tweede regel
    Line3 : Dit is de derde regel
    Line4 : Dit is de vierde regel
    
  2. or download this
    Dit is de derde regel
    
  3. or download this
    my ($thirdline) = $contents =~ m/Line3 : ([^\n]+)/s;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://520465]
help
Chatterbox?
[marto]: fun, in 2008 we (I) build a pilot system for $client, an in house youtube, they've asked me to do it again
[choroba]: again a pilot?
[marto]: yeah, the whole infrastructure has changed, and video codecs have moved on a great deal

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-07-28 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (425 votes). Check out past polls.