Sathishkumar has asked for the wisdom of the Perl Monks concerning the following question:
Thanks, Sathishkumar Smy $line = 'abCdes123'; $line ~~ s:P5:i:g/abc/124/; say $line; while ($line ~~ m :P5:g/^\d{2,3}/) { my $value = "$/"; say $value; say get(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl6 global regex matching
by moritz (Cardinal) on Oct 20, 2015 at 10:29 UTC | |
|
Re: Perl6 global regex matching
by Corion (Patriarch) on Oct 20, 2015 at 08:04 UTC | |
|
Re: Perl6 global regex matching
by Sathishkumar (Scribe) on Oct 20, 2015 at 12:28 UTC |