Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ A complicated regex Trigger
A complicated regex Trigger
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2
3
Posted by
| Nickpick
(24 posts) Bio
|
Date
| Reply #30 on Mon 08 May 2006 05:18 PM (UTC) |
Message
| Not sure if it was said yet, but if you are talking about Achaea, try CONFIG SCREENWIDTH 0. | Top |
|
Posted by
| Rakon
USA (123 posts) Bio
|
Date
| Reply #31 on Mon 08 May 2006 06:05 PM (UTC) |
Message
|
Quote: The trigger pattern you mentioned is exactly what I wanted to avoid, since it fires multiple times if it comes in less lines than I set the trigger to capture. Also I don't want to limit the capture to only my target.
The reason for setting a target is so that it only matches the line the targets name is in. Thus, it should not fire multiple times unless you QL more then once. Really, without defining a target for the system to look for, won't you in essence, overwrite the variables everytime it makes a match???
Or am I utterly confused as to what you are trying to do?? |
Yes, I am a criminal.
My crime is that of curiosity.
My crime is that of judging people by what they say and think, not what they look like.
My crime is that of outsmarting you, something that you will never forgive me for. | Top |
|
Posted by
| Nexes
(65 posts) Bio
|
Date
| Reply #32 on Thu 11 May 2006 09:52 PM (UTC) |
Message
| Meh, it's not really important any more since the screenwidth 0 option is in, but before, if you had a regex pattern set to multiple lines, say 3, and it was caught on one line, it would fire 3 times anyways for that single line. The reason I posted here was to figure out if there was a way around this and there isn't so I decided to simply start parsing the text in a big block. | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #33 on Thu 11 May 2006 10:22 PM (UTC) |
Message
| Well it won't if you anchor the regexp to the start or the end of the 3 lines. If you don't, well it is working as intended. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
92,146 views.
This is page 3, subject is 3 pages long:
1
2
3
It is now over 60 days since the last post. This thread is closed.
Refresh page
top