grauwolfeCG
April 10th, 2003, 08:26 AM
Hello!
I'm new to regular expressions, sorry for stupid question.
I want to write some trigger for my MUD client.
I want to extract from screen output some values, but I dont know how much occurences to expect. For example:
1: You see 1 gold coin, cloth hat.
2: You see 1 gol coin, two sets of 5 gold coins, assasin dagger.
3: You see 1 gold coin, 5 gold coins, 3 gold coins.. etc etc
How to match rest of coins?
I'm new to regular expressions, sorry for stupid question.
I want to write some trigger for my MUD client.
I want to extract from screen output some values, but I dont know how much occurences to expect. For example:
1: You see 1 gold coin, cloth hat.
2: You see 1 gol coin, two sets of 5 gold coins, assasin dagger.
3: You see 1 gold coin, 5 gold coins, 3 gold coins.. etc etc
How to match rest of coins?