Blame tests/modules/fail_invalid_regexp.aug
|
Packit Service |
a2ae7a |
module Fail_Invalid_Regexp =
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
(* We used to not spot that the second regexp in the union is invalid
|
|
Packit Service |
a2ae7a |
because we did not properly check expressions that contained
|
|
Packit Service |
a2ae7a |
literals. This construct now leads to a syntax error *)
|
|
Packit Service |
a2ae7a |
let rx = /a/ | /d)/
|