Rohit_Nz
(Gupta Rohit)
March 21, 2025, 2:55am
1
I have some generic libraries that can be used for VCL, FMX, WEB etc. One of the uses Regex.
For VCL, it compiles fine.
For WEB, the compiler can not find the unit. So for now, I have had to remove it with a compiler directive.
{$ifndef WEBLIB}System.RegularExpressions,{$endif}
Is there a reason and workaround for this?
In TMS WEB Core, regular expression support is via the JavaScript RegExp object
Regular expressions are patterns used to match character combinations in strings.
In JavaScript, regular expressions are also objects. These patterns are used with the exec() and test() methods of RegExp, and with the match(), matchAll(), replace(),...
so, it is not a 1:1 match with the Delphi regular expression implementation.
That is why we didn't put it in the same unitname to avoid confusion it would match 1:1.
system
(system)
Closed
March 22, 2025, 7:47am
3
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.