perl look behind question
        Posted  
        
            by sfgroups
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by sfgroups
        
        
        
        Published on 2010-06-13T16:21:15Z
        Indexed on 
            2010/06/13
            16:22 UTC
        
        
        Read the original article
        Hit count: 142
        
perl
Hi, I am trying extract number, from line has 'copies : 5' string.
this look behind expression not working.
echo "copies : 5" |perl -ne 'print $1 if /(\d+)(?Thanks
© Stack Overflow or respective owner