(token: string)
| 204 | * ASCII token reads exactly as the ASCII-only test this replaces read it. |
| 205 | */ |
| 206 | export function isQueryNameToken(token: string): boolean { |
| 207 | return meetsQueryWordFloor(token) |
| 208 | && /^[\p{L}\p{Nl}_$][\p{L}\p{N}\p{M}_$]*(?:(?:::|\.)[\p{L}\p{N}\p{M}_$]+)*$/u.test(token); |
| 209 | } |
| 210 | |
| 211 | /** |
| 212 | * `text` with every word that has a non-ASCII letter but no Han, kana or |
no test coverage detected