From Official documentation of RegularExpressions, the output should be NUMabcabc. But it is not. I wonder what is wrong ?
program Project128;
{$APPTYPE CONSOLE}
uses RegularExpressions;
var Regex: TRegEx;
begin
Regex := TRegEx.Create('{[0-9]}{[a-c]*}');
WriteLn(Regex.Replace('3abcabc', 'NUM\1'));
ReadLn;
end.