Re:Why Using .* in Regular Expressions Is Almost Never What ...
by kstenerud on Wednesday June 04, 2014 @09:56AM
(#7845527)
Actually, it only needs to be \[([^,]+),([^\]]+)\] because you're only going up to a comma in the first capture group and a square bracket in the second.
[ Parent
| on HN ]