RegExp.match question
const char[] re1 = `(re)1`; const char[] re2 = `(re)2`; char[] matchWrite(RegExp re) { writefln(re.match(1),`,`,re.match(2)); return ""; } std.regexp.sub(`re1 re2`, re1~'|'~re2, &matchWrite, "g"); --- prints re, re,re // shouldn't this be `,re`?
Re: win32 capCreateCaptureWindow problem
John C Wrote: > Those are warnings, not errors. Ignore them, it will compile anyway. Ah ..yes.It work .BTW,just cfw32.lib is needed,no need gdi32.lib to compile. Thank you so much! Regards, Sam