On 08/16/2010 08:14 PM, Peter Rosin wrote:
The logo of my version of MSVC is:

----8<----
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

----8<----

Which I match with (in some quasi-regexp notation)

----8<----
Microsoft.*Optimizing Compiler.*
Copyright.*Microsoft Corporation.*
.\{0,1\}
----8<----

(but only if it matches the first three lines in stderr)

I don't know why I have to have the ".\{0,1\}" part of the regexp,
but I suspect that it has something to do with newline conversion
in MSYS.

Yes, it matches a CR.

Paolo

Reply via email to