Github user purplecabbage commented on the pull request:
https://github.com/apache/cordova-android/pull/174#issuecomment-93536760
The platform agnostic version of this check is here:
https://github.com/purplecabbage/valid-identifier/blob/master/valid-identifier.js
The regex in use should probably be the same as there.
var regX = /([a-zA-Z_$][a-zA-Z\d_$]*\.)*[a-zA-Z_$][a-zA-Z\d_$]*/;
or refactored to use valid-identifier.
validateIdentifier("be111.net") passes!
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]