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
➜ Lua
➜ Trouble capturing info
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Silencher
(55 posts) Bio
|
Date
| Sun 08 Jul 2018 12:36 AM (UTC) Amended on Sun 08 Jul 2018 06:02 AM (UTC) by Nick Gammon
|
Message
|
| Buffed ( )( ) Armor XP | 01 | 02 / 03 | |
Above is a representation of a line I'm trying to catch.
I'm specifically trying to capture the '01' portion and I'm not really sure how to do it.
The white spaces between all of the above can vary, depending on the length of the numbers in '01', '02', '03'.
Can someone show me how I can easily capture '01'? I was thinking something like...
As the trigger string and use %2 for '01', but that doesn't seem to work correctly. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sun 08 Jul 2018 06:03 AM (UTC) |
Message
| Are these regular expressions? The *. at the end doesn't look right. |
- 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.
8,745 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top