aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/javascript/reference/global_objects/regexp/lastmatch/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/javascript/reference/global_objects/regexp/lastmatch/index.html')
-rw-r--r--files/ru/web/javascript/reference/global_objects/regexp/lastmatch/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/web/javascript/reference/global_objects/regexp/lastmatch/index.html b/files/ru/web/javascript/reference/global_objects/regexp/lastmatch/index.html
index 89551d517b..fd3232f351 100644
--- a/files/ru/web/javascript/reference/global_objects/regexp/lastmatch/index.html
+++ b/files/ru/web/javascript/reference/global_objects/regexp/lastmatch/index.html
@@ -9,7 +9,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/RegExp/lastMatch
<h2 id="Синтаксис">Синтаксис</h2>
-<pre class="syntaxbox notranslate"><var>RegExp</var>.lastMatch
+<pre class="syntaxbox"><var>RegExp</var>.lastMatch
RegExp['$&amp;']
</pre>
@@ -25,7 +25,7 @@ RegExp['$&amp;']
<h3 id="Использование_lastMatch_и">Использование <code>lastMatch</code> и <code>$&amp;</code></h3>
-<pre class="brush: js notranslate">var re = /hi/g;
+<pre class="brush: js">var re = /hi/g;
re.test('hi there!');
RegExp.lastMatch; // "hi"
RegExp['$&amp;']; // "hi"