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 20a30dc commit 25254a4Copy full SHA for 25254a4
test_ppx_regexp.ml
@@ -14,6 +14,12 @@
14
* along with this library. If not, see <http://www.gnu.org/licenses/>.
15
*)
16
17
+let () =
18
+ (match%pcre "%" with _ -> ());
19
+ (match%pcre "%" with s -> assert (s = "%"));
20
+ (function%pcre _ -> ()) "%";
21
+ (function%pcre s -> assert (s = "%")) "%"
22
+
23
let test1 =
24
(function%pcre
25
| {|^(?<k>.*): *(?<v>.+)?$|} -> `Attr (k, v)
0 commit comments