Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Have !cursor_start create failing cursors by default. Fixes problem w…
…ith default alpha/alnum/upper/etc. rules not failing properly (moritz++).
  • Loading branch information
pmichaud committed Jul 25, 2011
1 parent b5f2c5d commit dc942fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QRegex/Cursor.nqp
Expand Up @@ -51,7 +51,7 @@ role NQPCursorRole {
method !cursor_start() {
my $new := self.CREATE();
nqp::bindattr($new, $?CLASS, '$!orig', $!orig);
nqp::bindattr_i($new, $?CLASS, '$!pos', $!pos);
nqp::bindattr_i($new, $?CLASS, '$!pos', -3);
pir::return__vPsiPP(
$new,
nqp::bindattr_s($new, $?CLASS, '$!target', $!target),
Expand Down

0 comments on commit dc942fb

Please sign in to comment.