For that you can use the \Q and\E operators

   /\Q^Root:\s+(.*)$\E/;

Check out 'perldoc perlre'



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Carter Thompson
Sent: Friday, May 19, 2006 4:37 PM
To: Perl Users
Subject: mistaken newline


<snip>


Root:   C:\path\with\new\content

The problem is the part of the path is being interpreted as having a  
newline
in it. (...\new\content).

<snip>


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to