# https://www.finalbuilder.com/resources/blogs/getting-started-with-delphi-xes-regular-expressio

**URL:** https://www.finalbuilder.com/forums/t/https-www-finalbuilder-com-resources-blogs-getting-started-with-delphi-xes-regular-expressio/6500
**Category:** Site Feedback
**Created:** [June 3, 2019, 9:43pm UTC](https://www.finalbuilder.com/forums/t/https-www-finalbuilder-com-resources-blogs-getting-started-with-delphi-xes-regular-expressio/6500 "2019-06-03T21:43:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Trevor](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/258eb7/32.png) [@Trevor](https://www.finalbuilder.com/forums/u/Trevor)
#### Post date: [June 3, 2019, 9:43pm UTC](https://www.finalbuilder.com/forums/t/https-www-finalbuilder-com-resources-blogs-getting-started-with-delphi-xes-regular-expressio/6500/1 "2019-06-03T21:43:20Z")

</div>

Gday,

Thanks for the very useful regex discussion and code.

Alas, there is a mistake in line 25:

WriteLn(’ Group [’ + IntToStr(i) + ‘] : [’ + match.Value + ‘]’;

It should read:

WriteLn(’ Group [’ + IntToStr(i) + ‘] : [’ + match.Groups.Item[i].Value + ‘]’;

Cheers.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [June 3, 2019, 10:07pm UTC](https://www.finalbuilder.com/forums/t/https-www-finalbuilder-com-resources-blogs-getting-started-with-delphi-xes-regular-expressio/6500/2 "2019-06-03T22:07:07Z")

</div>

Thanks, amazed no one picked that up in 9 years!
