# pattern

[JS](https://lochiwei.gitbook.io/web/js) ⟩ [value](https://lochiwei.gitbook.io/web/js/val) ⟩ [object](https://lochiwei.gitbook.io/web/js/val/obj) ⟩ [regex](https://lochiwei.gitbook.io/web/js/val/builtin/regex) ⟩ pattern

{% hint style="success" %}
:point\_right: [regular expression cheatsheet](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Cheatsheet)
{% endhint %}

{% tabs %}
{% tab title="🔴 主題" %}

* [special-characters](https://lochiwei.gitbook.io/web/js/val/builtin/regex/pattern/special-characters "mention")
* [anchor](https://lochiwei.gitbook.io/web/js/val/builtin/regex/pattern/anchor "mention") - match position between characters.
* [repeat](https://lochiwei.gitbook.io/web/js/val/builtin/regex/pattern/repeat "mention")
  * [greedy-vs.-lazy](https://lochiwei.gitbook.io/web/js/val/builtin/regex/pattern/repeat/greedy-vs.-lazy "mention")
* [char-set](https://lochiwei.gitbook.io/web/js/val/builtin/regex/pattern/char-set "mention")
* [or](https://lochiwei.gitbook.io/web/js/val/builtin/regex/pattern/or "mention")
* [group](https://lochiwei.gitbook.io/web/js/val/builtin/regex/pattern/group "mention")
  * [capturing-group](https://lochiwei.gitbook.io/web/js/val/builtin/regex/pattern/group/capturing-group "mention")
  * [named-group](https://lochiwei.gitbook.io/web/js/val/builtin/regex/pattern/group/capturing-group/named-group "mention")
    * [matchall-using-named-groups](https://lochiwei.gitbook.io/web/js/val/prim/str/method/str.matchall/matchall-using-named-groups "mention")
* [lookaround](https://lochiwei.gitbook.io/web/js/val/builtin/regex/pattern/lookaround "mention")
* [inline-modifier](https://lochiwei.gitbook.io/web/js/val/builtin/regex/pattern/inline-modifier "mention")
* [replace-pattern](https://lochiwei.gitbook.io/web/js/val/builtin/regex/pattern/replace-pattern "mention")
  {% endtab %}

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

{% endtab %}

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

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