diff --git a/lib/B/Utils.pm b/lib/B/Utils.pm index 9886e7e..a18944b 100644 --- a/lib/B/Utils.pm +++ b/lib/B/Utils.pm @@ -208,7 +208,7 @@ sub B::OP::_parent_impl { return ( $op->sibling->_parent_impl( $target, "$cx$$op S " ) || ( - $cx =~ /^(?:\d+ S )*(?:\d+ N )*$/ + $cx =~ /^(?:-?\d+ S )*(?:-?\d+ N )*$/ ? $op->next->_parent_impl( $target, "$cx$$op N " ) : () )