# flag /d

[JS](../../../..) ⟩ [value](../../..) ⟩ [object](../../../obj) ⟩ [regex](..) ⟩ [flag]() ⟩ /d

{% hint style="success" %}
```javascript
/abc/d       // generate indices for matched substring/groups
```
{% endhint %}

{% tabs %}
{% tab title="💈範例" %}
* [quick-brown-fox](../ex/quick-brown-fox "mention") - example for <mark style="color:yellow;">`d`</mark>, <mark style="color:yellow;">`g`</mark>, <mark style="color:yellow;">`i`</mark> flags.&#x20;
{% endtab %}
{% endtabs %}
