Hi,
I am working on a plugin and it's progress well but I am struggling on the part which is : Notetag using Regex.
I tried to look at tutorial but I don't seem to understand how it work...
so could I get help in understanding how to approach a specific regex?
in simple my regexp is literally this :
so I want to try to implement that (btw if you think the '[' are to much it can be removed.
I just don't know how to approach I tried to create it but I can't get an idea on how to approach that.
thanks for any of your help!
I am working on a plugin and it's progress well but I am struggling on the part which is : Notetag using Regex.
I tried to look at tutorial but I don't seem to understand how it work...
so could I get help in understanding how to approach a specific regex?
in simple my regexp is literally this :
Code:
<Prices: [copper: 10, silver: 1, gold: 0 ]> // when a prices is ommited it is fine
//so far this is how my regex look
<\s*prices\s*:\s*([0-9]*)\s*>
I just don't know how to approach I tried to create it but I can't get an idea on how to approach that.
thanks for any of your help!
Last edited:

