ASM #329 - 'County/Zone names missing' error for counties with a - (hyphen)

Change-Id: I438fe078be9161e58faebc25b03f8416e9f00319

Former-commit-id: 6eff5dd2a7 [formerly 8ad36bdda1] [formerly b31998815d] [formerly e9d6eae852 [formerly b31998815d [formerly 5ffc345efdc6d1d9fabf522f3247a1f1c4f62d6b]]]
Former-commit-id: e9d6eae852
Former-commit-id: d26a05738b74a83be8df4e553815d3c5b80d244f [formerly 74b0e337df]
Former-commit-id: 8385758126
This commit is contained in:
Qinglu.Lin 2014-03-05 16:49:06 -05:00
parent adba7f0a5b
commit bb7896e05e

View file

@ -34,7 +34,9 @@ import java.util.regex.Pattern;
* Aug 25, 2011 10719 rferrel Removed the no longer common ugcPtrn.
* Aug 6, 2012 15219 Qinglu Lin For tmlPtrn, changed d{1,3}DEG to d{3}DEG.
* May 1, 2013 15893 mgamazaychikov Changed listOfAreaNamePtrn.
* Feb 26, 2014 16386 Qinglu Lin Updated listOfAreaNamePtrn to handle issue caused by
* hyphens in county name, and that by "'" and "/" as well.
*
* </pre>
*
* @version 1.0
@ -57,7 +59,7 @@ public interface IQCCheck {
.compile("/[A-Za-z0-9]{5}.[0-3NU].(\\w{2}).\\d{6}T\\d{4}Z.\\d{6}T\\d{4}Z.\\d{6}T\\d{4}Z.\\w{2}/");
public static final Pattern listOfAreaNamePtrn = Pattern
.compile("^(\\w{1,}\\s{1}[\\w{1,}\\s{1}]*-{1,})");
.compile("^([\\w\\s\\.'/]*-)");
public static final Pattern firstBulletPtrn = Pattern
.compile("\\*\\s(.*)\\s(WARNING|ADVISORY)(\\sFOR(.*)|...)");