Walter_Kacynski
Feb 25, 2016Cirrostratus
ASCII LF (0a) in STREAM
Is there a way to represent the hex 0a in the target of a STREAM::expression? Everything I try causes the literal "0a" or "\n" to be inserted instead of the representation of LF.
STREAM::expression {@\x0d@\x0a@}
Result of replacement is "\x0a" (5c 78 30 61)
STREAM::expression {@\x0d@\n@}
STREAM::expression {@\r@\n@}
Both of these cause the replacement to be the literal "\n" (5c 6e). Is seems that the search operations handles regex/hex just fine, but the replacement chokes on anything other than ASCII.