Sorry for the lame title, but I couldn't think of another way to describe it. Basically I have been working on this all week and I am at the point now where I am not getting anywhere and need assistance.
I have this text which needs to be parsed;
text.set(Vector2(10,10), TEST, Vector2(20,20))
I am trying to find the second parameter of the method set which is a string(could be anything though besides an object definition like the first 2). I am able to find the other 2 parameters(just the numeric portions which is all I want) with this regex
And I am able to find the "text." portion with this regex:
But what I cannot seem to do is to combine both of these negatively to give me the resulting string which should be "set(Vector2, TEST, Vector2)" which I could work with as output but ideally I would like just that second parameter. Important note is
that this can't rely on positions as the second parameter wont always be available or a non-object declaration.
Here is a short back history if it is required and may help;
Basically I have designed a scripting language that works in the XNA framework for on the fly changes while running on windows. It all works fine and dandy with the way I hav
View Complete Post