We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a78b026 commit 4b95673Copy full SHA for 4b95673
nr-common/utils.ts
@@ -32,10 +32,6 @@ export function isHexKey(key: string): boolean {
32
}
33
34
export function isPlusCode(code: string) {
35
- return true;
36
- // todo: use OpenLocationCode.isValid instead
37
- // https://github.com/tspoke/typescript-open-location-code/blob/f44c7dd208fc65a903f4ab28381f0b4b59faac47/src/open-location-code.ts#L137
38
-
39
const re =
40
/(^|\s)([23456789C][23456789CFGHJMPQRV][023456789CFGHJMPQRVWX]{6}\+[23456789CFGHJMPQRVWX]*)(\s|$)/i;
41
const simpleTestResult = re.test(code);
0 commit comments