We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b91f3c5 commit 813188eCopy full SHA for 813188e
S05-modifier/pos.t
@@ -24,10 +24,12 @@ for ("abcdef") {
24
#?rakudo skip "s:pos/// NYI"
25
{
26
$_ = "foofoofoo foofoofoo";
27
+ $/ := Any;
28
ok(s:global:pos/foo/FOO/, 'Globally contiguous substitution');
29
is($_, "FOOFOOFOO foofoofoo", 'Correctly substituted contiguously');
30
}
31
32
+#?niecza skip ':i'
33
34
my $str = "abcabcabc";
35
ok($str ~~ m:p/abc/, 'Continued match');
@@ -45,6 +47,7 @@ for ("abcdef") {
45
47
46
48
49
#?rakudo skip 'm:g'
50
51
52
53
my @x = $str ~~ m:i:g:p/abc/;
@@ -55,6 +58,7 @@ for ("abcdef") {
55
58
56
59
57
60
#?rakudo skip "m:p:i:g// NYI"
61
62
63
64
my @x = ?($str ~~ m:p:i:g/abc/);
0 commit comments