>cat: [ [thru "cat " | thru " cat" | thru "kitty " | thru " kitty"] to end ] >sentence: "I have a dog and a cat" >print (parse sentence cat) and (parse sentence dog) >> TRUE I've not been following this thread close enough to know whats really going on, but to me it looks like your reinventing the parser from an Adventure Game. Why not port the needed section of the game Nethack, or other text based adventure game, to Rebol?
- [REBOL] FW: [REBOL] Newbie question #2 - Pattern making and using... mjelinek
- bpaddock
