Closed bdevloed closed 11 months ago
Now you should get
eye --nope --pass test.n3
EYE v8.7.5 (2023-11-29)
SWI-Prolog version 9.1.19-24-g17913c0c9
starting 37 [msec cputime] 33 [msec walltime]
# Processed by EYE v8.7.5 (2023-11-29)
# eye --nope --pass test.n3
GET file:///tmp/test.n3 SC=3
networking 2 [msec cputime] 1 [msec walltime]
@prefix : <urn:example:>.
:Let :params "AA".
:Let :params "BA".
:test :result "XA".
:test :result "BA".
reasoning 2 [msec cputime] 1 [msec walltime]
# 2023-11-29T18:49:41.256Z in=3 out=4 ent=2 step=4 brake=2 inf=23305 sec=0.041 inf/sec=568415
# ENDS
2023-11-29T18:49:41.256Z in=3 out=4 ent=2 step=4 brake=2 inf=23305 sec=0.041 inf/sec=568415
Thanks for the observation.
string:replace
seems to behave incorrectly when using a"""^pattern"""
.pattern
are replaced, instead of just at the start of the stringSo, for the test below. I would expect
:test :result "XA", "BA".
instead of:test :result "XX", "BA".