blakepell / AvalonMudClient

A Windows MUD client written in C#/WPF for .NET 8.
Other
31 stars 7 forks source link

DSL Plugin: Some emotes going into the comm panel #22

Closed blakepell closed 4 years ago

blakepell commented 4 years ago

Xenophon:

Me:

blakepell commented 4 years ago

Patterns that aren't scraping correctly:

[ Red Robes ] Rhien clans 'Hello' (Wizi@52) (Imm) Tritoch imms: 'Question: Progs can be used to cast any coded spell, yes?' (Admin) (Imm) Shrek: (Coder) (Imm) Vaelin:

(VR) Rhien OOC Kingdom: 'Hello' (Arkane) Rhien Kingdom: 'Hello' (Arkane) King Rhien Kingdom: 'Hello' Kingdom: 'Hello' Rhien Kingdom: 'Hello' (Imm) Tashio Kingdom: 'Er these' You OOC Kingdom: 'test'

blakepell commented 4 years ago

Example emote that's scraping (that shouldn't): an immaculately dressed elf of high stature wiggles his fingers at Ith'ildin 'only if you fail to comply'

blakepell commented 4 years ago

This works but catches OOC also: ^((.) )?([\w'-]+)?(\s+)?([\w'-]+)?(\s+)?Kingdom: .$ (?!.*OOC)