MOO-cows Mailing List Archive

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

matching tb



I'm very hazy on match()ing, so I hope some kind person can help me out
here. I get the following traceback from a verb:

#397:take_command, line 8:  Resource limit exceeded
.. called from #785:notify_stage_talk (this == #397), line 1
.. called from #785:event_directed_speech (this == #397), line 2
.. called from #127:broadcast_event_* (this == #283), line 8
.. called from #68:stage `* -*, line 39
.. called from #6:my_huh (this == #223), line 27
.. called from built-in function pass()
.. called from #495:my_huh (this == #223), line 9
.. called from #51:do_huh, line 15
.. called from #1:huh (this == #283), line 2
(End of traceback)

This occurred after switching from 1.7.8p4 to 1.7.9p2, so I gather it has
something to do with the changed matching routines. Here is the line that
causes the tb:

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

I appreciate any suggestions!

Thanks!

cricket

+__________________________________________________________________________+
| The trees all waved their giant arms ...                                 |
|              And happiness bled from every street corner ...             |
|                              And biplanes bombed with fluffy pillows.    |
|---------------Meadow------------------------------cricket----------------|
| telnet://meadow.greenwing.com:7777/ |mailto:cricket@meadow.greenwing.com |
|    http://meadow.greenwing.com/     | http://meadow.greenwing.com/home/  |
+__________________________________________________________________________+




Follow-Ups:

Home | Subject Index | Thread Index