> Can anyone see why the caller is getting the first match, rather than the 
> last?
> Immense thanks to anyone who can see what's up.

I think in the line when going down the recursion, you have to assign the 
result to endNode:

endNode = [self getTrieNodeFromContextSequence:mutableSeq withNode:endNode];

Regards,
Mani
--
http://mani.de - friendly software

Follow us on Twitter via @manide:
http://twitter.com/manide/

Read or subscribe to our blog:
http://mani.de/backstage/

iVolume - listen to music hands-free
LittleSecrets - the encrypted notepad
Sahara - sand in your pocket
Watchdog - baffle the curious

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to