------- 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