Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TStStreamRegEx and CRLFs in output stream

6 views
Skip to first unread message

Mark DeMichele

unread,
Dec 4, 2002, 9:15:57 AM12/4/02
to
I using the TStStreamRegEx with TStringStream for both input and output for
perform a replace action. My input string does not contain a CRLF.
However, after processing the output stream always contains a CRLF, even if
the there was no match for the replace. I would have expected it to spit
back the output stream exactly like the input if there were no match. Even
if there was a match I would not have expected it to add a CRLF. This is
strange.

Thanks,
Mark DeMichele


Stephen Posey [TurboPower Software]

unread,
Dec 6, 2002, 2:35:56 PM12/6/02
to

What have you set for the OutLineTerminator property for the
TStStreamRegEx component?

Stephen Posey [TurboPower Software]
--
Please respond to the newsgroups and not via email.
This way, everyone benefits from knowing what was said.
Replies to mails...@turbopower.com will be copied back
to the newsgroup.

0 new messages