string.Replace

This commit is contained in:
miks1965 2016-12-23 13:23:16 +03:00
parent ca85119f2e
commit d63e45f84d
5 changed files with 11 additions and 5 deletions

View file

@ -15,7 +15,7 @@ internal static class RevisionClass
public const string Major = "3";
public const string Minor = "2";
public const string Build = "0";
public const string Revision = "1366";
public const string Revision = "1367";
public const string MainVersion = Major + "." + Minor;
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;

View file

@ -1,4 +1,4 @@
%MINOR%=2
%REVISION%=1366
%COREVERSION%=0
%REVISION%=1367
%MINOR%=2
%MAJOR%=3

View file

@ -1 +1 @@
!define VERSION '3.2.0.1366'
!define VERSION '3.2.0.1367'

Binary file not shown.

View file

@ -9482,7 +9482,13 @@ begin
Result := sb.ToString;
end;
// Дополнения февраль 2016: Matches, MatchValues, Remove, Right, Left
// Дополнения февраль 2016: Matches, MatchValues, Replace, Remove, Right, Left
/// Заменяет в указанной строке все вхождения регулярного выражения указанной строкой замены и возвращает преобразованную строку
function Replace(Self: string; reg,repl: string; options: RegexOptions := RegexOptions.None): string; extensionmethod;
begin
Result := Regex.Replace(Self,reg,repl,options)
end;
/// Ищет в указанной строке все вхождения регулярного выражения и возвращает их в виде последовательности элементов типа Match
function Matches(Self: string; reg: string; options: RegexOptions := RegexOptions.None): sequence of Match; extensionmethod;