Build, test, and debug regular expressions
Matches WordPress-style URLs containing 'reviews' by capturing the path segment before it, an optional trailing slash, and an optional numeric value (review ID or page number). Commonly used in WP rewrite rules to route URLs like 'product/reviews' or 'product/reviews/2' to a reviews handler. The pattern extracts the slug, separator, and pagination/ID for further processing.