[Prev][Next][Index][Thread]

# Re: matching tb

- Date: Fri, 22 Dec 1995 15:57:45 PST
- From:
- cc: moo-cows.PARC@xerox.com
- In-Reply-to: "cricket's message of \"Fri, 22 Dec 1995 16:22:44 PST\" <v02130500ad00f94a8ed4@[152.52.44.23]>"

    cricket writes:
    > #397:take_command, line 8:  Resource limit exceeded
    >
    > #397:"take_command" (cmd)
    >  8:  if (m = match(cmd, "^%(please %)? *%(I want %|give me %|gimme %|bring me
    >  %) *%(a %|an %)? *%(glass of %|cup of %)?+%([^,]+%)%(, *please%)?$"))
                                                ^
    					    |

    This plus sign, coming right after a question mark, is pretty odd and almost
    certainly not what you want.  I think you probably want to replace it by ` *'.
    That may fix your problem.

    	Pavel

References:

- matching tb

- From: cricket@meadow.greenwing.com (cricket)

- Prev: matching tb
- Next: MCP communications library?
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index