使用如下代码进行正则运算,其中Pattern和TXT值都未改变,但有时候工作正常,能得到返回值,有时候却无结果,返回空值,这是怎么回事?  RE:= TRegExp.Create(nil);
  RE.Global := true;
  RE.IgnoreCase := true;
  RE.Pattern :=Pattern;
  try
    machs := RE.Execute(txt) as IMatchCollection;
  except
  end;
  //RE.Free;
  FreeAndNil(RE);