[MudWalker] triggers

Kevin Reid kpreid at mac.com
Wed Oct 15 13:14:22 PDT 2008


On Oct 15, 2008, at 15:20, Aaron Wallace wrote:

> You just got slightly better in hunting.
>
> The issue is the last word in the you just got slightly message can  
> be one of any number of skills.

Pattern:
   ^You just got slightly better in \w+\.$

If it could be more than one word (say, spaces),
   ^You just got slightly better in [\w\s]+\.$

If it could have punctuation and so on in it,
   ^You just got slightly better in .*\.$

but one should be careful with .* since it could match more kinds of  
lines than you want. Probably not a problem in this case.

-- 
Kevin Reid                            <http://homepage.mac.com/kpreid/>




More information about the MudWalker mailing list