|
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: Wed Jan 21, 2009 4:44 am
[2.37] Bug with regex and reparse |
make this trigger:
Code: |
#regex {\#K\%(?:@mipcode)(\d+)(?miptag:\a{3})(?mipstring:.*)} {#show fired}
|
#show ~#K~%28001005FFFpkThis is a test
will get the 'fired' response, now change the trigger from pattern to reparse,
#show ~#K~%28001005FFFpkThis is a test
cmud hangs and you need to end it with task manager |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Wed Jan 21, 2009 5:13 am |
It's hanging, which I guess CMUD should try to detect; but the behavior is to be expected. The reparse option assumes you are using a Multistate trigger and there is at least one subsequent trigger pattern.
|
|
_________________ Asati di tempari! |
|
|
|
|
|