Skip to content

Commit e879f27

Browse files
committed
Add missing orig method to NQPMatch.
1 parent a0c3e8a commit e879f27

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
@@ -372,6 +372,7 @@ class NQPMatch is NQPCapture {
372372
has $!cursor;
373373

374374
method from() { $!from }
375+
method orig() { $!orig }
375376
method to() { $!to }
376377
method CURSOR() { $!cursor }
377378
method Str() is parrot_vtable('get_string') { nqp::substr($!orig, $!from, $!to-$!from) }

0 commit comments

Comments
 (0)