in reply to Re: Challenge: prefix($x, $y) . suffix($x, $z) eq $x
in thread Challenge: prefix($x, $y) . suffix($x, $z) eq $x
Changing the players for a dictionary file, I tried 'hello'. It produced the following:
Neither 'he' nor 'head' should be matched here because they share more than just 'h' in common with 'hello'. 'he' should be excluded because it consumes the entire word.h.ello PREFIX h: ha haberdasher ..... he head
Cheers - L~R
|
|---|