Hi,
not sure if it's a bug, but looks at least like some inconsistency:
<hansl>
eval regsub("ha", "a", "\n") # works
eval regsub("ha", "a", sprintf("\"")) # works
eval regsub("ha", "a", "\"") # fails
</hansl>
I know that plain literal strings in gretl aren't made for escape
sequences, but the regsub doc says that the last arguments are
interpreted as regular expressions, so I thought the \" would work. The
\n works here, too.
thanks
sven
Show replies by date