Blame SOURCES/perl-Devel-Cycle-1.11-512.patch

0ab553
diff --git a/lib/Devel/Cycle.pm b/lib/Devel/Cycle.pm
0ab553
index 19d3d63..2c5fdd1 100644
0ab553
--- a/lib/Devel/Cycle.pm
0ab553
+++ b/lib/Devel/Cycle.pm
0ab553
@@ -215,7 +215,9 @@ sub _format_reference {
0ab553
 sub _get_type {
0ab553
   my $thingy = shift;
0ab553
   return unless ref $thingy;
0ab553
-  return 'SCALAR' if UNIVERSAL::isa($thingy,'SCALAR') || UNIVERSAL::isa($thingy,'REF');
0ab553
+  return 'SCALAR' if UNIVERSAL::isa($thingy,'SCALAR') ||
0ab553
+                     UNIVERSAL::isa($thingy,'REF') ||
0ab553
+                     UNIVERSAL::isa($thingy,'Regexp');
0ab553
   return 'ARRAY'  if UNIVERSAL::isa($thingy,'ARRAY');
0ab553
   return 'HASH'   if UNIVERSAL::isa($thingy,'HASH');
0ab553
   return 'CODE'   if UNIVERSAL::isa($thingy,'CODE');