@energycap/components 0.27.9 → 0.27.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/energycap-components.umd.js +1 -1
- package/bundles/energycap-components.umd.js.map +1 -1
- package/bundles/energycap-components.umd.min.js +1 -1
- package/bundles/energycap-components.umd.min.js.map +1 -1
- package/esm2015/lib/core/validation-patterns.js +2 -2
- package/fesm2015/energycap-components.js +1 -1
- package/fesm2015/energycap-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -3994,7 +3994,7 @@
|
|
|
3994
3994
|
*/
|
|
3995
3995
|
var integerPattern = new RegExp("^(-)?([\\d]+)?$");
|
|
3996
3996
|
/** Pattern to validate most public domains */
|
|
3997
|
-
var domainPattern = /^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]
|
|
3997
|
+
var domainPattern = /^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$/i;
|
|
3998
3998
|
/**
|
|
3999
3999
|
* Function to return a decimal RegExp. Takes in the number of decimals to validate
|
|
4000
4000
|
* against
|