RobSchultz
Programmer
I'm trying to code an app that will read in a line of an ini file and pull out parameters.
The .ini would look similar to this:
The regular expression needs to be able to create a match collection that matches the groups of [[...]] into separate items.
The best I've been able to do (which isn't much) is with the pattern "\[\[(.*)\]\]". This returns a single match (yes, Global is on).
Help will be greatly appreciated,
Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-
The .ini would look similar to this:
Code:
[parameters]
T1 = [[parameter 1]][[parameter 2]][[parameter 3]]
The regular expression needs to be able to create a match collection that matches the groups of [[...]] into separate items.
The best I've been able to do (which isn't much) is with the pattern "\[\[(.*)\]\]". This returns a single match (yes, Global is on).
Help will be greatly appreciated,
Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-