| commit | 804750def74b4a5b9ce607e375042628b9ff5d69 | [log] [tgz] |
|---|---|---|
| author | Marc Kupietz <kupietz@ids-mannheim.de> | Fri Apr 10 14:44:13 2026 +0200 |
| committer | Marc Kupietz <kupietz@ids-mannheim.de> | Fri Apr 10 14:44:13 2026 +0200 |
| tree | 39c7550aa58c87eff43cd10f0686e3d617391cbe | |
| parent | a17c2e5577e966bb78e6abbfd277a8e7d2c63706 [diff] [blame] |
Always tag as ADR if pattern matches Change-Id: I7f8636eb3d9e8b03fad2e8747d50d4cb208bfc43
diff --git a/src/index.js b/src/index.js index 0c3faf1..148ff52 100755 --- a/src/index.js +++ b/src/index.js
@@ -147,7 +147,7 @@ new_tag = 'URL'; } else if (word.match(emailRegex)) { new_tag = 'EML'; - } else if (!columns[3].match("^(NE|PROPN)") && word.match(addressRegex)) { + } else if (word.match(addressRegex)) { new_tag = 'ADR'; } if (new_tag) {