Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

dont't treat array references as arrays in regexes

They will be stringified instead, and must be dereferenced to be arrayish.
  • Loading branch information...
commit 37c7620bd6a9d45dcc452c4f468770b0bb3b7d62 1 parent a4c8c57
@FROGGS FROGGS authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/core/Cursor.pm
View
2  src/core/Cursor.pm
@@ -69,7 +69,7 @@ my class Cursor does NQPCursorRole {
my Mu $alts := nqp::list();
my Mu $order := nqp::list();
- if nqp::istype($var, Positional) || nqp::istype($var, Capture) {
+ if nqp::istype($var, Positional) {
if $s {
# The order matters for sequential matching, therefor no NFA involved.
$order := $var.list;
Please sign in to comment.
Something went wrong with that request. Please try again.