https://github.com/gcarreno/testregularexpressions
This is an example on how to use regular expressions
https://github.com/gcarreno/testregularexpressions
fpc free-pascal freepascal lazarus regex regexp regular-expressions
Last synced: 4 months ago
JSON representation
This is an example on how to use regular expressions
- Host: GitHub
- URL: https://github.com/gcarreno/testregularexpressions
- Owner: gcarreno
- License: mit
- Created: 2025-03-21T04:27:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-23T17:20:25.000Z (about 1 year ago)
- Last Synced: 2025-10-23T05:46:28.246Z (7 months ago)
- Topics: fpc, free-pascal, freepascal, lazarus, regex, regexp, regular-expressions
- Language: Pascal
- Homepage:
- Size: 56.6 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Use of Regular Expressions
[](https://github.com/gcarreno/TestRegularExpressions/actions)
[](https://github.com/gcarreno/TestRegularExpressions/releases/latest)
[](https://github.com/gcarreno/TestRegularExpressions/releases/latest)
[](https://github.com/gcarreno/TestRegularExpressions/releases/latest)
[](https://github.com/gcarreno/TestRegularExpressions/blob/main/LICENSE)
[](https://github.com/gcarreno/TestRegularExpressions/releases/latest)
[](https://github.com/gcarreno/TestRegularExpressions/releases)
This is an example on how to use regular expressions.
For simplicity's sake, I'm only demonstrating the `Exec`/`ExecNext` functionality. There's more to it than just these two, like the `Substitute` and `Split` functionalities.
I've also decided to use the `RegExpr` package that is provided in the packages that come by default with Free Pascal's compiler installation.
You can have a better picture of other options in this entry of the Wiki: [Regular Expression Packages](https://wiki.freepascal.org/RegEx_packages)
You can find some documentation about `TRegExpr` here: [TRegExpr Class](https://regex.sorokin.engineer/tregexpr).