Closed GoogleCodeExporter closed 9 years ago
If you unpack into a number you must match the number. There are no matches for
the (123) or (789) in the second example and so there is nothing to write into
num1 or num3, and so RE2::PartialMatch fails.
For strings we can at least set them to the empty string, which is why they are
allowed.
Original comment by rsc@golang.org
on 10 Jan 2014 at 1:16
Original issue reported on code.google.com by
yanlong...@gmail.com
on 18 Nov 2011 at 3:32