Skip to content

Commit e1a19de

Browse files
committed
add missing CURSOR method to NQPMatch
1 parent 4ee92b6 commit e1a19de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/QRegex/Cursor.nqp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ class NQPMatch is NQPCapture {
358358

359359
method from() { $!from }
360360
method to() { $!to }
361+
method CURSOR() { $!cursor }
361362
method Str() is parrot_vtable('get_string') { nqp::substr($!orig, $!from, $!to-$!from) }
362363
method () is parrot_vtable('get_integer') { +self.Str() }
363364
method () is parrot_vtable('get_number') { +self.Str() }

0 commit comments

Comments
 (0)