mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-03 13:03:48 +02:00

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 -
29 lines
494 B
ObjectPascal
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.
|