Overview
Comment: | [core][js] isupper() -> false if only digits |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | core |
Files: | files | file ages | folders |
SHA3-256: |
cb10add01fb5801b7346e80ccc1658ab |
User & Date: | olr on 2020-06-01 15:10:07 |
Other Links: | manifest | tags |
Context
2020-06-03
| ||
17:07 | [fr] faux positif check-in: edbc160d01 user: olr tags: trunk, fr | |
2020-06-01
| ||
15:10 | [core][js] isupper() -> false if only digits check-in: cb10add01f user: olr tags: trunk, core | |
10:14 | [fr] règles d’euphonie: ajustements + nouvelle option check-in: 2be81f7ac3 user: olr tags: trunk, fr | |
Changes
Modified js_extension/string.js from [d7879c84f4] to [92604eae87].
︙ | ︙ | |||
23 24 25 26 27 28 29 | String.prototype.gl_isAlpha = function () { return (this.search(/^[a-zà-öA-Zø-ÿÀ-ÖØ-ßĀ-ʯff-stᴀ-ᶿ]+$/) !== -1); }; String.prototype.gl_isLowerCase = function () { return (this.search(/^[a-zà-öø-ÿff-st0-9'’-]+$/) !== -1); }; String.prototype.gl_isUpperCase = function () { | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | String.prototype.gl_isAlpha = function () { return (this.search(/^[a-zà-öA-Zø-ÿÀ-ÖØ-ßĀ-ʯff-stᴀ-ᶿ]+$/) !== -1); }; String.prototype.gl_isLowerCase = function () { return (this.search(/^[a-zà-öø-ÿff-st0-9'’-]+$/) !== -1); }; String.prototype.gl_isUpperCase = function () { return (this.search(/^[A-ZÀ-ÖØ-ߌ0-9'’-]+$/) !== -1 && this.search(/^[0-9]+$/) === -1); }; String.prototype.gl_isTitle = function () { return (this.search(/^[A-ZÀ-ÖØ-ߌ][a-zà-öø-ÿff-st'’-]+$/) !== -1); }; String.prototype.gl_toCapitalize = function () { return this.slice(0,1).toUpperCase() + this.slice(1).toLowerCase(); }; |
︙ | ︙ |