Skip to content

Commit 1a61895

Browse files
committed
Small fixes for the descr.
1 parent d297a18 commit 1a61895

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ppx_tyre.descr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ expressed in a slightly extended subset of PCRE. The interpretations are:
1616

1717
- `re?` extracts an option of what `re` extracts.
1818
- `re+`, `re*`, `re{n,m}` extracts a list of what `re` extracts.
19-
- `(?@qname)` refers to a named `[%tyre ...]` expression bound to a possibly
20-
module-qualified identifier `qname`.
19+
- `(?@qname)` refers to any identifier bound to a typed regular expression
20+
of type `'a Tyre.t`.
2121
- One or more `(?<v>re)` in a sequence extracts an object where each method
2222
`v` is bound to what `re` extracts.
2323
- An alternative with one `(?<v>re)` per branch extracts a polymorphic
2424
variant where each constructor `` `v`` receives what `re` extracts as its
2525
argument.
26-
- `(?@v:qname)` is a shortcut for `(?<v>(?&qname))`.
26+
- `(?&v:qname)` is a shortcut for `(?<v>(?&qname))`.

0 commit comments

Comments
 (0)