R

TestRegex

Recurse entire pattern

(?R)

Recursively match the entire expression.

Examples

PCRE

Share & Embed

Use this snippet to display this token on your own site.

<!-- Embed Regex Token: (?R) -->
<code class="regex-token">(?R)</code> - Recurse entire pattern
<small><a href="https://testregex.com/cheatsheet/recurse-entire-pattern">See details</a></small>