This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
10
unikernel/duniverse/ocaml-re/lib_test/expect/test_posix.ml
Normal file
10
unikernel/duniverse/ocaml-re/lib_test/expect/test_posix.ml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
open Import
|
||||
|
||||
let%expect_test "class space" =
|
||||
let re = Re.Posix.compile_pat {|a[[:space:]]b|} in
|
||||
let exec = Re.execp re in
|
||||
assert (exec "a b");
|
||||
assert (not (exec "ab"));
|
||||
assert (not (exec "a_b"));
|
||||
[%expect {||}]
|
||||
;;
|
||||
Loading…
Add table
Add a link
Reference in a new issue