RobSchultz
Programmer
Please excuse me for posting a pseudo-VB related question here but I sure could use some help from the original grep artists...
I'm trying to code a Visual Basic 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 of the entire line (yes, Global is on).
Thanks in advance for any help you can provide, Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-
I'm trying to code a Visual Basic app that will read in a line of an ini file and pull out parameters.
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 of the entire line (yes, Global is on).
Thanks in advance for any help you can provide, Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-