Could work except that submatchers have a hard time returning the length since they may not know it on failure to match.