This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/41856] g++.dg/lookup/extern-c-redecl[3,4] .C scan-assembler fails on darwin



------- Comment #8 from schwab at linux-m68k dot org  2009-10-29 17:29 -------
(In reply to comment #7)
> The '.*?' is the non greedy form of '.*'. If I put '.*' only, then '.*foo'
> '.*' will match the foo coming after and that will not do what I want.

The nongreedy form will not prevent that.  You should never use '.*' because
'.' can match newline.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41856


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]