I am stumped on this for past few weeks.
I am still learning Prolog and a beginner.
I do not wish to use cut or any non-logical Prolog built-ins as of now :)
So maybe someone could explain me the solution.
?- regularexpr_parse("([a-z][a-z0-9_]*)", S).
S = concat(class(97, 122)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.