From 09d10136633355937867a21d65db64ae3c4d5829 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 27 Oct 2021 18:02:34 +0300 Subject: Использование макроса для вставки специфицикаций - 2 (#2883) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../global_objects/regexp/exec/index.html | 25 +-------------------- .../global_objects/regexp/flags/index.html | 15 +------------ .../reference/global_objects/regexp/index.html | 25 +-------------------- .../global_objects/regexp/source/index.html | 26 +--------------------- .../global_objects/regexp/sticky/index.html | 15 +------------ .../global_objects/regexp/test/index.html | 25 +-------------------- 6 files changed, 6 insertions(+), 125 deletions(-) (limited to 'files/ru/web/javascript/reference/global_objects/regexp') 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]);

Спецификации

- - - - - - - - - - - - - - - - - - - - - - - -
СпецификацияСтатусКомментарии
ECMAScript 3-е издание.СтандартИзначальное определение. Реализована в JavaScript 1.2.
{{SpecName('ES5.1', '#sec-15.10.6.21', 'RegExp.exec')}}{{Spec2('ES5.1')}} 
{{SpecName('ES6', '#sec-regexp.prototype.exec', 'RegExp.exec')}}{{Spec2('ES6')}} 
+{{Specifications}}

Совместимость с браузерами

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

Спецификации

- - - - - - - - - - - - - -
СпецификацияСтатусКомментарии
{{SpecName('ES6', '#sec-get-regexp.prototype.flags', 'RegExp.prototype.flags')}}{{Spec2('ES6')}}Изначальное определение.
+{{Specifications}}

Совместимость с браузерами

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'

Спецификации

- - - - - - - - - - - - - - - - - - - - - - - -
СпецификацияСтатусКомментарии
ECMAScript 1-е издание.СтандартИзначальное определение. Реализована в JavaScript 1.1.
{{SpecName('ES5.1', '#sec-15.10', 'RegExp')}}{{Spec2('ES5.1')}}
{{SpecName('ES6', '#sec-regexp-regular-expression-objects', 'RegExp')}}{{Spec2('ES6')}}
+{{Specifications}}

Совместимость с браузерами

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

Спецификации

- - - - - - - - - - - - - - - - - - - - - - - -
СпецификацияСтатусКомментарии
ECMAScript 3-е издание.СтандартИзначальное определение. Реализована в JavaScript 1.2.
- JavaScript 1.5: свойство source является свойством экземпляра {{jsxref("Global_Objects/RegExp", "RegExp")}}, а не самого объекта {{jsxref("Global_Objects/RegExp", "RegExp")}}.
{{SpecName('ES5.1', '#sec-15.10.7.1', 'RegExp.prototype.source')}}{{Spec2('ES5.1')}}
{{SpecName('ES6', '#sec-get-regexp.prototype.source', 'RegExp.prototype.source')}}{{Spec2('ES6')}}Свойство source теперь является свойством доступа в прототипе объекта, а не собственным свойством данных экземпляра.
+{{Specifications}}

Совместимость с браузерами

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

Спецификации

- - - - - - - - - - - - - -
СпецификацияСтатусКомментарии
{{SpecName('ES6', '#sec-get-regexp.prototype.sticky', 'RegExp.prototype.sticky')}}{{Spec2('ES6')}}Изначальное определение.
+{{Specifications}}

Совместимость с браузерами

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

Спецификации

- - - - - - - - - - - - - - - - - - - - - - - -
СпецификацияСтатусКомментарии
ECMAScript 3-е издание.СтандартИзначальное определение. Реализована в JavaScript 1.2.
{{SpecName('ES5.1', '#sec-15.10.6.3', 'RegExp.test')}}{{Spec2('ES5.1')}}
{{SpecName('ES6', '#sec-regexp.prototype.test', 'RegExp.test')}}{{Spec2('ES6')}}
+{{Specifications}}

Совместимость с браузерами

-- cgit v1.2.3-54-g00ecf