From 578865d01cee2c14d0beea29283c9c18e2b70622 Mon Sep 17 00:00:00 2001
From: Karen Etheridge <ether@cpan.org>
Date: Sat, 14 May 2016 21:35:45 -0700
Subject: [PATCH] Fix "Unescaped left brace in regex is illegal in regex"
 (RT#114386)

e.g. see
http://www.cpantesters.org/cpan/report/68a3966a-1947-11e6-870a-aab79ae6fa17
---
 t/20-unit/Type-Params/optional.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/20-unit/Type-Params/optional.t b/t/20-unit/Type-Params/optional.t
index 4c31fe8..47d2be4 100644
--- a/t/20-unit/Type-Params/optional.t
+++ b/t/20-unit/Type-Params/optional.t
@@ -53,7 +53,7 @@ is_deeply(
 
 like(
 	exception { $chk->(1.1, 2, {}) },
-	qr{^Reference {} did not pass type constraint "Optional\[ArrayRef\]" \(in \$_\[2\]\)},
+	qr{^Reference \{\} did not pass type constraint "Optional\[ArrayRef\]" \(in \$_\[2\]\)},
 );
 
 like(