PCRE - Perl Compatible Regular Expressions #24
Replies: 4 comments 7 replies
|
What exactly is wrong with the regex support currently in FPC? "Made me not happy" doesn't tell me much - I'd need to know what's actually missing or broken. If you could, post some code or pseudocode showing how you imagine it instead. Concrete examples of what you want to write, and what doesn't work today, would make it much easier to judge. |
|
I have found PCRE24Delphi. @see; Pascal (Delphi / Free Pascal) bindings for PCRE2 Could you please pre-install this package as standard? |
|
If we can assume that Unleashed Pascal provides bindings for PCRE2, then we can build a helper unit that simulates PHP’s PCRE functions for UTF-8 strings. The helper unit is useful if you want to transpile PHP code into Unleashed Pascal Code using an AI model. That's one of my dreams: Free PHP to Pascal Converter |
|
Thanks for the hint! |
Uh oh!
There was an error while loading. Please reload this page.
I've seen any implemations of the the "regular expression" - stuff in Free pascal which made me not happy.
How about it to implement regular expression such like in PHP only as fuctions on the base of the PCRE2-Library?
see:
All reactions