1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-12-26 01:09:08 -05:00
Simba/Tests/PS/regex.simba

12 lines
190 B
Plaintext
Raw Normal View History

2010-09-11 08:01:33 -04:00
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.