Register to post in forums, or Log in to your existing account
 
:
Search found 3 matches for:
Page 1 of 1
Author Message
  Topic: Regex help wanted
zoom-ping

Replies: 4
Views: 7066

PostForum: zMUD General Discussion   Posted: Tue Feb 10, 2009 6:45 am   Subject: Regex help wanted
Thanks for the help. My friend pointed out the same error. I removed the '?'and tweaked it for larger number of flags that I potentially missed and it works fine now. Here's how it looks like now:
^\ ...
  Topic: Regex help wanted
zoom-ping

Replies: 4
Views: 7066

PostForum: zMUD General Discussion   Posted: Mon Feb 09, 2009 3:18 pm   Subject: Regex help wanted
Works as good as my trigger. Still get the mob name with flags included. I'm not good with regexp and I don't understand the necessity to add \ to | and T. Can you comment your solution a bit? Just t ...
  Topic: Regex help wanted
zoom-ping

Replies: 4
Views: 7066

PostForum: zMUD General Discussion   Posted: Mon Feb 09, 2009 11:23 am   Subject: Regex help wanted
Hello.

I'm having problems getting a value using a regex pattern.
The pattern I wrote looks like this:
^\s+-\s([(]G|R|H|I|W|T|Angry[)]\s?)*?(.*?)$
And I'm ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net