This commit is contained in:
erik-krogh 2023-05-25 13:56:29 +02:00
Родитель 765076bcba
Коммит 9f5bf8fb22
Не найден ключ, соответствующий данной подписи
4 изменённых файлов: 4 добавлений и 8 удалений

Просмотреть файл

@ -11,8 +11,7 @@
Consider this regular expression: Consider this regular expression:
</p> </p>
<sample language="java"> <sample language="java">
^_(__|.)+_$ ^_(__|.)+_$</sample>
</sample>
<p> <p>
Its sub-expression <code>"(__|.)+?"</code> can match the string <code>"__"</code> either by the Its sub-expression <code>"(__|.)+?"</code> can match the string <code>"__"</code> either by the
first alternative <code>"__"</code> to the left of the <code>"|"</code> operator, or by two first alternative <code>"__"</code> to the left of the <code>"|"</code> operator, or by two

Просмотреть файл

@ -11,8 +11,7 @@
Consider this regular expression: Consider this regular expression:
</p> </p>
<sample language="javascript"> <sample language="javascript">
/^_(__|.)+_$/ /^_(__|.)+_$/</sample>
</sample>
<p> <p>
Its sub-expression <code>"(__|.)+?"</code> can match the string <code>"__"</code> either by the Its sub-expression <code>"(__|.)+?"</code> can match the string <code>"__"</code> either by the
first alternative <code>"__"</code> to the left of the <code>"|"</code> operator, or by two first alternative <code>"__"</code> to the left of the <code>"|"</code> operator, or by two

Просмотреть файл

@ -11,8 +11,7 @@
Consider this regular expression: Consider this regular expression:
</p> </p>
<sample language="python"> <sample language="python">
^_(__|.)+_$ ^_(__|.)+_$</sample>
</sample>
<p> <p>
Its sub-expression <code>"(__|.)+?"</code> can match the string <code>"__"</code> either by the Its sub-expression <code>"(__|.)+?"</code> can match the string <code>"__"</code> either by the
first alternative <code>"__"</code> to the left of the <code>"|"</code> operator, or by two first alternative <code>"__"</code> to the left of the <code>"|"</code> operator, or by two

Просмотреть файл

@ -4,8 +4,7 @@
<example> <example>
<p>Consider this regular expression:</p> <p>Consider this regular expression:</p>
<sample language="ruby"> <sample language="ruby">
/^_(__|.)+_$/ /^_(__|.)+_$/</sample>
</sample>
<p> <p>
Its sub-expression <code>"(__|.)+?"</code> can match the string Its sub-expression <code>"(__|.)+?"</code> can match the string
<code>"__"</code> either by the first alternative <code>"__"</code> to the <code>"__"</code> either by the first alternative <code>"__"</code> to the