Closed lapalme closed 5 years ago
It seems that the 'anchored' flag in re_match() does not work as can be seen with these simple goals in the prolog console.
?- re_match('^an','banana'). false.
?- re_match('an','banana',[anchored(true)]). true.
Thanks. The option was ignored. Pushed a fix to the pcre package.
pcre
It seems that the 'anchored' flag in re_match() does not work as can be seen with these simple goals in the prolog console.
?- re_match('^an','banana'). false.
?- re_match('an','banana',[anchored(true)]). true.