15,909,591 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 9584445 (Top 10 by date)
Member 9584445
25-Sep-15 4:13am
View
You are right. The list seems to be missing an update.
This: [KNW][A-FI-KM-OQ-Z].*
Have to be: [KNW][A-GI-KM-OQ-Z].*
to give the correct result. I will contact the provider.
Thanks again for Your kindly replies.
Have a nice weekend.
Best regards, Brian
Member 9584445
25-Sep-15 3:34am
View
Okay - I get it.
The problem is that:
- [KNW] means letters K, N or W are allowed
- [A-GI-K] means letters in the range A to G and I to K are allowed
Therefore I have to find a way to resolve this call, NG3Y, to belong to USA.
Best regards, Brian
Member 9584445
24-Sep-15 9:09am
View
I was hoping You could fix the rexex so the lookup will work and in this case return "USA" for the call "NG3Y"
Best regards, Brian
Member 9584445
24-Sep-15 7:29am
View
Thanks a lot for replying, Zoltán.
I get the same result, no Country can be found. I don't know how to fix this since I have not yet gotten enough knowledge about RegEx.
Best regards, Briann
Member 9584445
23-Sep-15 8:25am
View
Hi again, Zoltán
I ran into that the callsign "NG3Y" cannot be linked to USA.
Can it be because of this part A[A-GI-K] (GI - there is no separator between)
<item arrlprefix="K" comment="" continent="NA" country="United States" cqzone="5" dxcc="291" ituzone="6" latitude="39.0000N" longitude="97.5278W" prefixlist="[KNW][0-9].*|A[A-GI-K].*|[KNW][A-FI-KM-OQ-Z].*|KP[06-9].*|KG[0-35-9].*|KG4[A-Z]|KG4[A-Z][A-Z][A-Z]" status="Active" startdate="" enddate="" geoid="244" wiki="http://en.wikipedia.org/wiki/United_States_of_America">
Best regards, Brian
Member 9584445
8-Sep-15 10:19am
View
Perfect! Again, thanks a lot.
I must learn how to use reg. ex. It is really very useful :-)
Member 9584445
8-Sep-15 10:01am
View
Found a little bug: The callsign "VP8VPC" results in "Falkland Is." (Correct) and "DPR of Korea (North Korea)" (Wrong). Can You figure out how to adjust the Rex. Ex.?
Member 9584445
8-Sep-15 8:16am
View
btw: Forgot to say thanks a lot - it's working perfect :-)
Member 9584445
8-Sep-15 6:42am
View
Yes, I will wrap my own class around it.
UniqueCalls001 is a very special part only containing a few callsigns.
Member 9584445
7-Sep-15 15:38pm
View
Hi Zoltán and thanks for Your solution
I am not able to figure out how to use it. What I need is to send a callsign (eg. OZ1BV, to a function and get the country returned, in this case Denmark.
Best regards, Brian
Show More