mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-14 05:15:16 -05:00
12 lines
190 B
Plaintext
12 lines
190 B
Plaintext
|
program new;
|
||
|
var
|
||
|
x : TRegExp;
|
||
|
begin
|
||
|
x := TRegExp.create;
|
||
|
x.Expression := 'W?alk';
|
||
|
x.InputString := 'Lets talk bitch!';
|
||
|
Writeln(x.ExecPos(1));
|
||
|
writeln(x.Match[0]);
|
||
|
x.free;
|
||
|
end.
|