We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edf67e9 commit e3cc138Copy full SHA for e3cc138
README.md
@@ -94,7 +94,7 @@ of the results. `(?&y:int)` is a shortcut for `(?<x>(?&int))`.
94
This can also be used for alternatives, for instance:
95
96
```ocaml
97
-# let id_or_name = [%tyre "id:(?&id:int)|name:(?<name>[:alpha:]+)"] ;;
+# let id_or_name = [%tyre "id:(?&id:int)|name:(?<name>[[:alnum:]]+)"] ;;
98
val id_or_name : [ `id of int | `name of string ] Tyre.t
99
```
100
0 commit comments