Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Thu Jul 24, 2008 3:23 am   

Just when I thought I had the basic of regex down...
 
Code:

#regex stand_round {[\w']+ roundhouse sends you to the floor, knocking you senseless.^} {stand} {General Triggers}


Doesn't match:

Quote:


Kotho's roundhouse sends you to the floor, knocking you senseless.



in the slightest. What am I doing wrong, what am I not understanding that's causing this to fail?
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Thu Jul 24, 2008 3:41 am   
 
Code:
[\w']+ roundhouse sends you to the floor, knocking you senseless.

or you probably mean
Code:
[\w']+ roundhouse sends you to the floor, knocking you senseless.$

I think you are muddling ^ and $.
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Thu Jul 24, 2008 3:54 am   
 
oops, I know that difference. How did that creep in there???
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net