string.Replace
This commit is contained in:
parent
ca85119f2e
commit
d63e45f84d
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%MINOR%=2
|
||||
%REVISION%=1366
|
||||
%COREVERSION%=0
|
||||
%REVISION%=1367
|
||||
%MINOR%=2
|
||||
%MAJOR%=3
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
!define VERSION '3.2.0.1366'
|
||||
!define VERSION '3.2.0.1367'
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue