diff options
author | Alexey Pyltsyn <lex61rus@gmail.com> | 2021-10-27 18:02:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-27 18:02:34 +0300 |
commit | 09d10136633355937867a21d65db64ae3c4d5829 (patch) | |
tree | 7405949290f874407855847c7832da361dd8f9d7 /files/ru/web/javascript/reference/global_objects/regexp | |
parent | 56817c1235a48d66c12ddf1c3d37a0e61977b875 (diff) | |
download | translated-content-09d10136633355937867a21d65db64ae3c4d5829.tar.gz translated-content-09d10136633355937867a21d65db64ae3c4d5829.tar.bz2 translated-content-09d10136633355937867a21d65db64ae3c4d5829.zip |
Использование макроса для вставки специфицикаций - 2 (#2883)
Diffstat (limited to 'files/ru/web/javascript/reference/global_objects/regexp')
6 files changed, 6 insertions, 125 deletions
diff --git a/files/ru/web/javascript/reference/global_objects/regexp/exec/index.html b/files/ru/web/javascript/reference/global_objects/regexp/exec/index.html index 15dc565bd7..ba04d2dc5a 100644 --- a/files/ru/web/javascript/reference/global_objects/regexp/exec/index.html +++ b/files/ru/web/javascript/reference/global_objects/regexp/exec/index.html @@ -143,30 +143,7 @@ console.log(matches[1]); <h2 id="Specifications">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарии</th> - </tr> - <tr> - <td>ECMAScript 3-е издание.</td> - <td>Стандарт</td> - <td>Изначальное определение. Реализована в JavaScript 1.2.</td> - </tr> - <tr> - <td>{{SpecName('ES5.1', '#sec-15.10.6.21', 'RegExp.exec')}}</td> - <td>{{Spec2('ES5.1')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('ES6', '#sec-regexp.prototype.exec', 'RegExp.exec')}}</td> - <td>{{Spec2('ES6')}}</td> - <td> </td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Browser_compatibility">Совместимость с браузерами</h2> diff --git a/files/ru/web/javascript/reference/global_objects/regexp/flags/index.html b/files/ru/web/javascript/reference/global_objects/regexp/flags/index.html index 8048b0a00a..b7540d9443 100644 --- a/files/ru/web/javascript/reference/global_objects/regexp/flags/index.html +++ b/files/ru/web/javascript/reference/global_objects/regexp/flags/index.html @@ -46,20 +46,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/RegExp/flags <h2 id="Specifications">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарии</th> - </tr> - <tr> - <td>{{SpecName('ES6', '#sec-get-regexp.prototype.flags', 'RegExp.prototype.flags')}}</td> - <td>{{Spec2('ES6')}}</td> - <td>Изначальное определение.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Browser_compatibility">Совместимость с браузерами</h2> diff --git a/files/ru/web/javascript/reference/global_objects/regexp/index.html b/files/ru/web/javascript/reference/global_objects/regexp/index.html index 601b6d84ed..7ff165f37c 100644 --- a/files/ru/web/javascript/reference/global_objects/regexp/index.html +++ b/files/ru/web/javascript/reference/global_objects/regexp/index.html @@ -545,30 +545,7 @@ console.log(/[^.]+/.exec(url)[0].substr(7)); // напечатает 'xxx' <h2 id="Specifications">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарии</th> - </tr> - <tr> - <td>ECMAScript 1-е издание.</td> - <td>Стандарт</td> - <td>Изначальное определение. Реализована в JavaScript 1.1.</td> - </tr> - <tr> - <td>{{SpecName('ES5.1', '#sec-15.10', 'RegExp')}}</td> - <td>{{Spec2('ES5.1')}}</td> - <td></td> - </tr> - <tr> - <td>{{SpecName('ES6', '#sec-regexp-regular-expression-objects', 'RegExp')}}</td> - <td>{{Spec2('ES6')}}</td> - <td></td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Browser_compatibility">Совместимость с браузерами</h2> diff --git a/files/ru/web/javascript/reference/global_objects/regexp/source/index.html b/files/ru/web/javascript/reference/global_objects/regexp/source/index.html index 35a9312fdf..33a0f054a2 100644 --- a/files/ru/web/javascript/reference/global_objects/regexp/source/index.html +++ b/files/ru/web/javascript/reference/global_objects/regexp/source/index.html @@ -34,31 +34,7 @@ new RegExp('\n').source === '\\n'; // true, начиная с ES5</pre> <h2 id="Specifications">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарии</th> - </tr> - <tr> - <td>ECMAScript 3-е издание.</td> - <td>Стандарт</td> - <td>Изначальное определение. Реализована в JavaScript 1.2.<br> - JavaScript 1.5: свойство <code>source</code> является свойством экземпляра {{jsxref("Global_Objects/RegExp", "RegExp")}}, а не самого объекта {{jsxref("Global_Objects/RegExp", "RegExp")}}.</td> - </tr> - <tr> - <td>{{SpecName('ES5.1', '#sec-15.10.7.1', 'RegExp.prototype.source')}}</td> - <td>{{Spec2('ES5.1')}}</td> - <td></td> - </tr> - <tr> - <td>{{SpecName('ES6', '#sec-get-regexp.prototype.source', 'RegExp.prototype.source')}}</td> - <td>{{Spec2('ES6')}}</td> - <td>Свойство <code>source</code> теперь является свойством доступа в прототипе объекта, а не собственным свойством данных экземпляра.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Browser_compatibility">Совместимость с браузерами</h2> diff --git a/files/ru/web/javascript/reference/global_objects/regexp/sticky/index.html b/files/ru/web/javascript/reference/global_objects/regexp/sticky/index.html index 19f13155fd..f700c35c59 100644 --- a/files/ru/web/javascript/reference/global_objects/regexp/sticky/index.html +++ b/files/ru/web/javascript/reference/global_objects/regexp/sticky/index.html @@ -61,20 +61,7 @@ console.log(supports_sticky); // напечатает 'false' в Firefox 2 и 't <h2 id="Specifications">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарии</th> - </tr> - <tr> - <td>{{SpecName('ES6', '#sec-get-regexp.prototype.sticky', 'RegExp.prototype.sticky')}}</td> - <td>{{Spec2('ES6')}}</td> - <td>Изначальное определение.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Browser_compatibility">Совместимость с браузерами</h2> diff --git a/files/ru/web/javascript/reference/global_objects/regexp/test/index.html b/files/ru/web/javascript/reference/global_objects/regexp/test/index.html index 5fecdf75c8..68687b9893 100644 --- a/files/ru/web/javascript/reference/global_objects/regexp/test/index.html +++ b/files/ru/web/javascript/reference/global_objects/regexp/test/index.html @@ -54,30 +54,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/RegExp/test <h2 id="Specifications">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарии</th> - </tr> - <tr> - <td>ECMAScript 3-е издание.</td> - <td>Стандарт</td> - <td>Изначальное определение. Реализована в JavaScript 1.2.</td> - </tr> - <tr> - <td>{{SpecName('ES5.1', '#sec-15.10.6.3', 'RegExp.test')}}</td> - <td>{{Spec2('ES5.1')}}</td> - <td></td> - </tr> - <tr> - <td>{{SpecName('ES6', '#sec-regexp.prototype.test', 'RegExp.test')}}</td> - <td>{{Spec2('ES6')}}</td> - <td></td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Browser_compatibility">Совместимость с браузерами</h2> |