@Override
        @Nullable
        public final ResultWrapper parse(@NonNull final String text, @NonNull final Geopoint.LatLon latlon) {
            final MatcherWrapper matcher = new MatcherWrapper(latlon == Geopoint.LatLon.LAT ? latPattern : lonPattern, text);
            if (matcher.find()) {
                final Double res = parseGroups(matcher, 1, matcher.groupCount());
                if (res != null) {
                    return new ResultWrapper(res, matcher.group().length());
                }
            }

            return null;
        }
@see AbstractParser#parse(String, Geopoint.LatLon)
main/src/main/java/cgeo/geocaching/location/GeopointParser.java