Skip to content

Commit 7abc936

Browse files
Note that replacement text can refer to captured groups
Signed-off-by: David A. Wheeler <[email protected]>
1 parent fb53e92 commit 7abc936

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/labs/create_checker.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,5 +608,8 @@ in this example:
608608
The optional expressions before and after it are an optimization,
609609
to coalesce this for speed.
610610

611+
In the preprocessing replacement text, you can use `$` followed by a digit
612+
to refer to the corresponding capturing group.
613+
611614
If you load `hello.html` you'll automatically run some self-tests on
612615
the default preprocessor.

0 commit comments

Comments
 (0)