whois 141.138.197.1 asks ARIN which tells "ask RIPE".
So there are two netnames etc.
There are two Origin – first empty. But convey takes '\norigin(.*)\d+' so this is alright. But convey takes the first netname which stands for ripe netname.
Maybe convey should take the last found value (even for abusemail?)?
$ whois 141.138.197.1
#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/resources/registry/whois/tou/
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
#
# Copyright 1997-2019, American Registry for Internet Numbers, Ltd.
#
NetRange: 141.0.0.0 - 141.255.255.255
CIDR: 141.0.0.0/8
NetName: RIPE-ERX-141
NetHandle: NET-141-0-0-0-0
Parent: ()
NetType: Early Registrations, Maintained by RIPE NCC
OriginAS:
Organization: RIPE Network Coordination Centre (RIPE)
RegDate: 1993-04-30
Updated: 2009-05-18
Comment: These addresses have been further assigned to users in
Comment: the RIPE NCC region. Contact information can be found in
Comment: the RIPE database at http://www.ripe.net/whois
Ref: https://rdap.arin.net/registry/ip/141.0.0.0
ResourceLink: https://apps.db.ripe.net/search/query.html
ResourceLink: whois.ripe.net
OrgName: RIPE Network Coordination Centre
OrgId: RIPE
Address: P.O. Box 10096
City: Amsterdam
StateProv:
PostalCode: 1001EB
Country: NL
RegDate:
Updated: 2013-07-29
Ref: https://rdap.arin.net/registry/entity/RIPE
ReferralServer: whois://whois.ripe.net
ResourceLink: https://apps.db.ripe.net/search/query.html
OrgTechHandle: RNO29-ARIN
OrgTechName: RIPE NCC Operations
OrgTechPhone: +31 20 535 4444
OrgTechEmail: hostmaster@ripe.net
OrgTechRef: https://rdap.arin.net/registry/entity/RNO29-ARIN
OrgAbuseHandle: ABUSE3850-ARIN
OrgAbuseName: Abuse Contact
OrgAbusePhone: +31205354444
OrgAbuseEmail: abuse@ripe.net
OrgAbuseRef: https://rdap.arin.net/registry/entity/ABUSE3850-ARIN
#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/resources/registry/whois/tou/
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
#
# Copyright 1997-2019, American Registry for Internet Numbers, Ltd.
#
Found a referral to whois.ripe.net.
% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% See http://www.ripe.net/db/support/db-terms-conditions.pdf
% Note: this output has been filtered.
% To receive output for a database update, use the "-B" flag.
% Information related to '141.138.197.0 - 141.138.197.255'
% Abuse contact for '141.138.197.0 - 141.138.197.255' is 'abuse@xl-is.net'
inetnum: 141.138.197.0 - 141.138.197.255
netname: XLIS-VPS
remarks: VPS42
remarks: INFRA-AW
descr: XL Internet Services B.V.
country: NL
admin-c: XLIS-RIPE
tech-c: XLIS-RIPE
status: ASSIGNED PA
mnt-by: XLIS-NL-MNT
mnt-domains: XLIS-NL-MNT
created: 2011-09-22T15:37:50Z
last-modified: 2012-01-09T17:51:32Z
source: RIPE
role: XL Internet Services Hostmaster
address: XL Internet Services BV
address: Oostmaaslaan 71 (15th floor)
address: 3063 AN Rotterdam
address: The Netherlands
phone: +31 10 270 94 70
fax-no: +31 10 433 44 60
abuse-mailbox: abuse@xl-is.net
nic-hdl: XLIS-RIPE
admin-c: NOC193-RIPE
tech-c: NOC193-RIPE
remarks: ------------------------------------------------
remarks: E-mail is the preferred contact method!
remarks: ------------------------------------------------
remarks: Please use one of the following addresses:
remarks: abuse@xl-is.net - for abuse notification
remarks: support@xl-is.net - for technical questions
remarks: info@xl-is.net - for anything else
remarks: ------------------------------------------------
mnt-by: XLIS-NL-MNT
created: 2007-01-11T12:57:00Z
last-modified: 2016-06-17T14:34:50Z
source: RIPE # Filtered
% Information related to '141.138.192.0/20AS35470'
route: 141.138.192.0/20
descr: XL Network
origin: AS35470
mnt-by: XLIS-NL-MNT
created: 2011-07-01T13:45:00Z
last-modified: 2011-07-01T13:45:00Z
source: RIPE
% This query was served by the RIPE Database Query Service version 1.94.1 (BLAARKOP)
whois 141.138.197.1asks ARIN which tells "ask RIPE".So there are two netnames etc.
There are two Origin – first empty. But convey takes '\norigin(.*)\d+' so this is alright. But convey takes the first netname which stands for ripe netname.
Maybe convey should take the last found value (even for abusemail?)?