Mercurial > hg > nginx-site
comparison xml/en/docs/njs/compatibility.xml @ 2739:887c0d145bae
Added more RegExp methods in Compatibility.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 15 Jun 2021 16:14:05 +0100 |
parents | d874ae125c3c |
children | c3303f98a246 |
comparison
equal
deleted
inserted
replaced
2738:d874ae125c3c | 2739:887c0d145bae |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Compatibility" | 9 <article name="Compatibility" |
10 link="/en/docs/njs/compatibility.html" | 10 link="/en/docs/njs/compatibility.html" |
11 lang="en" | 11 lang="en" |
12 rev="30" | 12 rev="31" |
13 toc="no"> | 13 toc="no"> |
14 | 14 |
15 <section> | 15 <section> |
16 | 16 |
17 <para> | 17 <para> |
610 </list> | 610 </list> |
611 | 611 |
612 </listitem> | 612 </listitem> |
613 | 613 |
614 <listitem> | 614 <listitem> |
615 <literal>RegExp</literal> instance methods: | 615 <literal>RegExp</literal> prototype accessor properties: |
616 <list type="bullet"> | 616 <list type="bullet"> |
617 | |
618 <listitem> | |
619 <literal>flags</literal> (<link doc="changes.xml" id="njs0.6.0">0.6.0</link>), | |
620 <literal>global</literal>, | |
621 <literal>ignoreCase</literal>, | |
622 <literal>multiline</literal>, | |
623 <literal>source</literal>, | |
624 <literal>sticky</literal> (<link doc="changes.xml" id="njs0.6.0">0.6.0</link>) | |
625 </listitem> | |
626 </list> | |
627 | |
628 </listitem> | |
629 | |
630 <listitem> | |
631 <literal>RegExp</literal> prototype methods: | |
632 <list type="bullet"> | |
633 | |
634 <listitem> | |
635 <literal>[@@replace]</literal> | |
636 (<link doc="changes.xml" id="njs0.4.2">0.4.2</link>), | |
637 <literal>[@@split]</literal> | |
638 (<link doc="changes.xml" id="njs0.6.0">0.6.0</link>) | |
639 </listitem> | |
617 | 640 |
618 <listitem> | 641 <listitem> |
619 ES5.1: | 642 ES5.1: |
620 <literal>exec</literal>, | 643 <literal>exec</literal>, |
621 <literal>test</literal>, | 644 <literal>test</literal>, |
622 <literal>toString</literal> | 645 <literal>toString</literal> |
646 </listitem> | |
647 </list> | |
648 | |
649 </listitem> | |
650 | |
651 <listitem> | |
652 <literal>RegExp</literal> instance properties: | |
653 <list type="bullet"> | |
654 | |
655 <listitem> | |
656 <literal>lastIndex</literal> | |
623 </listitem> | 657 </listitem> |
624 </list> | 658 </list> |
625 | 659 |
626 </listitem> | 660 </listitem> |
627 | 661 |