> For the complete documentation index, see [llms.txt](https://lochiwei.gitbook.io/web/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lochiwei.gitbook.io/web/js/val/builtin/regex/pattern/inline-modifier.md).

# inline modifier

🚧 under construction

[JS](/web/js.md) ⟩ [value](/web/js/val.md) ⟩ [object](/web/js/val/obj.md) ⟩ [regex](/web/js/val/builtin/regex.md) ⟩ [pattern](/web/js/val/builtin/regex/pattern.md) ⟩ inline modifier

{% hint style="success" %}

```javascript
(?x)	        // Turn on modifier x until the end of the containing group
(?-x)	        // Turn off modifier x until the end of the containing group
(?x:...)	// Turn on modifier x for the section
(?-x:...)	// Turn off modifier x for the section
// Relevent modifiers are i (ignore case) and x (extended regex).
// You may group more than one modifier together
```

{% endhint %}

{% tabs %}
{% tab title="💈範例" %}

```javascript
// code
```

{% endtab %}

{% tab title="📗 參考" %}

* [ ] [Regular Expression Quick Reference](http://regexrenamer.sourceforge.net/help/regex_quickref.html)
  {% endtab %}
  {% endtabs %}
