You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Delphi 10.3.
I just updated the SysTools component from version 4.04 to the current version and am having problems using the TStStreamRegEx component.
I fixed Stream problems for the input data, but now I have a problem in the value returned by the component, it truncates the end of the string (last 2 characters).
In the old version, the deletion of the last 2 characters was used to delete the CR / LF characters which were added at the start of the processing, but a priori, they are no longer there and the processing continues to delete them.
I have attached a test program to describe the problem. Test_StExpReg.zip
Can you help me see if the problem is with the data sent to the component or with the TStStreamRegEx component itself?
Regards.
The text was updated successfully, but these errors were encountered:
The problem is in TStStreamRegEx . It mixes ANSI and Unicode. I have now an experimental version that works with your example but I'm sure that there are still issues. You can try it or what I would recommend is, that you use the Delphi TRegEx class.
Hello,
I am using Delphi 10.3.
I just updated the SysTools component from version 4.04 to the current version and am having problems using the TStStreamRegEx component.
I fixed Stream problems for the input data, but now I have a problem in the value returned by the component, it truncates the end of the string (last 2 characters).
In the old version, the deletion of the last 2 characters was used to delete the CR / LF characters which were added at the start of the processing, but a priori, they are no longer there and the processing continues to delete them.
I have attached a test program to describe the problem.
Test_StExpReg.zip
Can you help me see if the problem is with the data sent to the component or with the TStStreamRegEx component itself?
Regards.
The text was updated successfully, but these errors were encountered: