Skip to content

Commit e3cc138

Browse files
committed
Small fix.
1 parent edf67e9 commit e3cc138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ of the results. `(?&y:int)` is a shortcut for `(?<x>(?&int))`.
9494
This can also be used for alternatives, for instance:
9595

9696
```ocaml
97-
# let id_or_name = [%tyre "id:(?&id:int)|name:(?<name>[:alpha:]+)"] ;;
97+
# let id_or_name = [%tyre "id:(?&id:int)|name:(?<name>[[:alnum:]]+)"] ;;
9898
val id_or_name : [ `id of int | `name of string ] Tyre.t
9999
```
100100

0 commit comments

Comments
 (0)