stratego> <string-replace(|“foo”, “bar”)> “is there a foo around here?”
“baris there a around here?”

Note that it does work for some cases, like the one from the strategy’s example:
stratego> <string-replace(|“foo”, “bar”)> “foobarfoo”
“barbarbar”

Submitted on 2 August 2006 at 19:38

On 2 August 2006 at 19:44 Jira commented:

STR-608, martin:
This has been fixed recently, see also issue STR-593

From revision 15399 string-replace should work correctly (at least it does for much more tests and your example).

Thanks for reporting anyway :)


On 2 August 2006 at 21:51 Jira commented:

STR-608, lennartkats:
Thanks, good to hear that it was fixed. It appears that I was using an older version of the library, loaded through libdryad (which overrides my libstratego-lib import, perhaps another issue?). Without the libdryad import - or with a freshly compiled libdryad.la - it works fine for me too.

Log in to post comments