On 6/19/23 07:39, Richard Hainsworth wrote:
HI Todd,
Some more clean up:
On 19/06/2023 12:41, ToddAndMargo via perl6-users wrote:
This is my test program:
#!/bin/raku
print "\n";
my Str $x = Q[href="wike-2.0.1-1.fc38.noarch.rpm">wike-2.0.1-1.fc38.noarch.rpm
27-Apr-2023 01:53 143K] ~
HI Todd,
Some more clean up:
On 19/06/2023 12:41, ToddAndMargo via perl6-users wrote:
This is my test program:
#!/bin/raku
print "\n";
my Str $x = Q[href="wike-2.0.1-1.fc38.noarch.rpm">wike-2.0.1-1.fc38.noarch.rpm
27-Apr-2023 01:53 143K] ~
On 6/19/23 03:03, ToddAndMargo via perl6-users wrote:
On 6/18/23 05:38, ToddAndMargo via perl6-users wrote:
Hi All,
I know how to do this with several regex's and words.
What I'd like to learn is how to remove something
from the middle with regex using a wild card.
And I can't figure it out
On 6/18/23 05:38, ToddAndMargo via perl6-users wrote:
Hi All,
I know how to do this with several regex's and words.
What I'd like to learn is how to remove something
from the middle with regex using a wild card.
And I can't figure it out
#!/bin/raku
print "\n";
my Str $x =
References:
Try something like this, perhaps:
$x ~~ s:i/ ^ (.*?) '' .*?
Hi All,
I know how to do this with several regex's and words.
What I'd like to learn is how to remove something
from the middle with regex using a wild card.
And I can't figure it out
#!/bin/raku
print "\n";
my Str $x = Q[wine-7.12-3.fc37.i686.rpm23-Jul-2022 19:11 11K
print "1