Created
March 11, 2021 19:31
-
-
Save gfldex/ffa8d0e60cbd3845b4d91bd2029fcd5b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my @a = <1 B 3 D 4>; | |
my @b; | |
my $hit; | |
for @a -> $e { | |
@b.push: ($e ~~ m/(<alpha>) || { next } /).Str; | |
} | |
say @b; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment