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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Gage
Beginner


Joined: 07 Jan 2003
Posts: 23

PostPosted: Fri May 16, 2003 4:24 am   

%s matches only once?
 
Hopefully the spaces show up...

Text:
1st. Row Myself Someone -----

Pattern:
1st. Row%s(*)%s(*)%s(*)%s

Action:
#SHOW %1
#SHOW %2
#SHOW %3

Now the first %s works and matches all the spaces before "Myself" but they do not match the spaces after "Myself" and "Someone". It acts like it it only matching one blank space.

What would be causing this?
Reply with quote
Gage
Beginner


Joined: 07 Jan 2003
Posts: 23

PostPosted: Fri May 16, 2003 4:39 am   
 
Nevermind,

I was using (*) when I should have been using %x in my pattern.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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