I have a field like this:
Using 'makemv delim="," group' is easy and works great, but I'm having a hard time getting the right regex in transforms to do it automatically. I've tried a number of things, but they all end up being too greedy, or just not working. Based on my last question here, I tried things like this:
I've also tried:
I've tried enough things that I've lost track. I'm sure this should be quite easy, but it's not. Any help?
asked 14 Dec '10, 04:15
The correct method to make this field multivalued is to use fields.conf:
answered 14 Dec '10, 19:54
Fiddled with it for a little while, but didn't get too much farther. I added some ingredients like positive lookahead (?=) and non-greedy wildcard (.*?). Taking a step back, I'm not sure if regex is the right way to go about this. Isn't there an easier way to persist "makemv delim=" to the configs? If not, there should be.
answered 14 Dec '10, 19:09