Home > Back-end >  XE7 take regular tRegEx. Matching 3000 Matches than memory
XE7 take regular tRegEx. Matching 3000 Matches than memory

Time:09-23

To extract the url links area

{XXXX}
1, matches:=tRegEx. Matches (s, pat, [roSingleLine roIgnoreCase]);
2, the ShowMessage (matches. Count. The ToString ());

Correct the results there are 3000
But to line 1 tip out of the memory

Good pit IDE, so frequent use of a function, unexpectedly also has a problem, seek the solution,

CodePudding user response:

Match: tmatch single match and then delete the match content have been circulating the results are normal

Ask people

CodePudding user response:

Tested TMatchCollection maximum number is 2991,, ah,,
  • Related