I use StrategoXt 0.16 for simple transformations in my master thesis and i found out
strange behaviour of string-replace strategy.

When i tested simple example from xdoc it works ok:
stratego> <string-replace(|“foo”, “bar”)> “foobarfoo”
“barbarbar”

When i insert some other character into string it works strange:
stratego> <string-replace(|“foo”, “bar”)> “fooXfoo”
“barbarX”

Submitted on 10 June 2006 at 18:08

On 1 July 2006 at 23:31 Jira commented:

STR-593, martin:
Fixed, indeed this was a bug in the implementation of string-replace. Thanks for reporting!

Log in to post comments