fpc/packages/regexpr/tests/testregexpr.pp
marco 427d60db4d --- Merging r39993 into '.':
A    packages/regexpr/tests/testregexpr.pp
A    packages/regexpr/tests/tcregexp.pp
A    packages/regexpr/tests/testregexpr.lpi
U    packages/regexpr/src/regexpr.pas
--- Recording mergeinfo for merge of r39993 into '.':
 U   .
--- Merging r40056 into '.':
G    packages/regexpr/src/regexpr.pas
--- Recording mergeinfo for merge of r40056 into '.':
 G   .

# revisions: 39993,40056
r39993 | michael | 2018-10-20 14:09:07 +0200 (Sat, 20 Oct 2018) | 1 line
Changed paths:
   M /trunk/packages/regexpr/src/regexpr.pas
   A /trunk/packages/regexpr/tests/tcregexp.pp
   A /trunk/packages/regexpr/tests/testregexpr.lpi
   A /trunk/packages/regexpr/tests/testregexpr.pp

* Fix bug #0034429, replace now can use escape sequences, and lineending can be set
r40056 | michael | 2018-10-27 17:08:00 +0200 (Sat, 27 Oct 2018) | 1 line
Changed paths:
   M /trunk/packages/regexpr/src/regexpr.pas

* Introduce overloaded version of ReplaceRegexpr which allows to set more options (see bug ID #34429).

git-svn-id: branches/fixes_3_2@41899 -
2019-04-19 13:47:39 +00:00

29 lines
494 B
ObjectPascal

program testregexpr;
{$mode objfpc}{$H+}
uses
Classes, consoletestrunner, tcregexp;
type
{ TMyTestRunner }
TMyTestRunner = class(TTestRunner)
protected
// override the protected methods of TTestRunner to customize its behavior
end;
var
Application: TMyTestRunner;
begin
DefaultFormat:=fPlain;
DefaultRunAllTests:=True;
Application := TMyTestRunner.Create(nil);
Application.Initialize;
Application.Title:='testregexpr';
Application.Run;
Application.Free;
end.