mozilla

Compare Revisions

RegExp.prototype.toString()

Change Revisions

Revision 87940:

Revision 87940 by Sevenspade on

Revision 87941:

Revision 87941 by evilpie on

Title:
toString
toString
Slug:
JavaScript/Reference/Global_Objects/RegExp/toString
JavaScript/Reference/Global_Objects/RegExp/toString
Content:

Revision 87940
Revision 87941
n10    <h3 name="Summary">n10    <h3 id="Summary" name="Summary">
n16    <table class="fullwidth-table">n16    <table class="standard-table">
17      <thead>
18        <tr>
19          <th class="header" colspan="2">
20            Method of <a href="/en/JavaScript/Reference/Global_Ob
 >jects/RegExp"><code>RegExp</code></a>
21          </th>
22        </tr>
23      </thead>
n19          <td class="header" colspan="2">n26          <td>
20            Method of <a href="en/Core_JavaScript_1.5_Reference/G27            Implemented in
>lobal_Objects/RegExp">RegExp</a> 
28          </td>
29          <td>
30            JavaScript 1.1
n25            Implemented in:n35            ECMAScript Edition
n28            JavaScript 1.1, NES2.0n38            ECMAScript 3rd Edition
29          </td>
30        </tr>
31        <tr>
32          <td>
33            ECMA Version:
34          </td>
35          <td>
36            ECMA-262, Edition 3
n41    <h3 name="Syntax">n43    <h3 id="Syntax" name="Syntax">
n47    <h3 name="Parameters">n49    <h3 id="Parameters" name="Parameters">
n53    <h3 name="Description">n55    <h3 id="Description" name="Description">
n57      The <code>RegExp</code> object overrides the <code>toStringn59      The <code>RegExp</code> object overrides the <code>toString
></code> method of the <code><a href="en/Core_JavaScript_1.5_Refer></code> method of the <code><a href="/en/JavaScript/Reference/Glo
>ence/Global_Objects/Object">Object</a></code> object; it does not>bal_Objects/Object" title="en/JavaScript/Reference/Global_Objects
> inherit <code><a href="en/Core_JavaScript_1.5_Reference/Global_O>/Object">Object</a></code> object; it does not inherit <code><a h
>bjects/Object/toString">Object.toString</a></code>. For <code>Reg>ref="/en/JavaScript/Reference/Global_Objects/Object/toString" tit
>Exp</code> objects, the <code>toString</code> method returns a st>le="en/JavaScript/Reference/Global_Objects/Object/toString">Objec
>ring representation of the regular expression.>t.toString</a></code>. For <code>RegExp</code> objects, the <code
 >>toString</code> method returns a string representation of the re
 >gular expression.
n59    <h3 name="Examples">n61    <h3 id="Examples" name="Examples">
n62    <h4 name="Example:_Using_toString">n64    <h4 id="Example:_Using_toString" name="Example:_Using_toStrin
 >g">
n72    <h3 name="See_Also">n74    <h3 id="See_Also" name="See_Also">
t76      <a href="en/Core_JavaScript_1.5_Reference/Global_Objects/Obt78      <a href="/en/JavaScript/Reference/Global_Objects/Object/toS
>ject/toString">Object.prototype.toString</a>>tring" title="en/JavaScript/Reference/Global_Objects/Object/toStr
 >ing">Object.prototype.toString</a>

Back to History