Skip to content

Commit

Permalink
Readme tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
slevithan committed Jul 20, 2024
1 parent 47d66f1 commit 4bfeea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ See the next section on definition groups for another way to do this.

### Definition groups

The syntax `(?(DEFINE)…)` can be used as a place to define subpatterns used by reference only. Compared to the `(…){0}` syntax described in the preceding section on subroutines, using a definition group has the advantage that named groups within it won't appear on a match's `groups` object.
The syntax `(?(DEFINE)…)` can be used to define subpatterns for use by reference only. Compared to the `(…){0}` syntax described in the preceding section on subroutines, definition groups have the advantage that named groups within them don't appear on a match's `groups` object.

Example:

Expand Down

0 comments on commit 4bfeea6

Please sign in to comment.