On 12/10/23 22:26, William Michels via perl6-users wrote:
Inline:
On Dec 10, 2023, at 12:25, ToddAndMargo via perl6-users
wrote:
On 12/9/23 22:49, William Michels via perl6-users wrote:
f $x.match( / ^ <+[0..9] + [a..z]> ** 7 $ / ) { do something...};
What is the difference between
<
Thank you for all your hard work, Dominique!
Do we have any Debian users on the mailing-list willing to step up?
Best Regards, Bill.
> On Dec 2, 2023, at 07:01, Dominique Dumont wrote:
>
> Hello
>
> After 10 years of maintaining rakudo and it modules for Debian, I've never
> really managed
Inline:
> On Dec 10, 2023, at 12:25, ToddAndMargo via perl6-users
> wrote:
>
> On 12/9/23 22:49, William Michels via perl6-users wrote:
>> f $x.match( / ^ <+[0..9] + [a..z]> ** 7 $ / ) { do something...};
>
>
> What is the difference between
>
><+[0..9]
> and
> <[0..9]
>
Nothing, atm
On 12/10/23 19:52, Kevin Pye wrote:
On Mon, 11 Dec 2023, at 09:24, ToddAndMargo via perl6-users wrote:
On 12/10/23 14:16, Kevin Pye wrote:
Because you asked for a match with a string consisting entirely of exactly 8
digits.
I am not following. :'(
^beginning of string
<[0..9]> a
On Mon, 11 Dec 2023, at 09:24, ToddAndMargo via perl6-users wrote:
> On 12/10/23 14:16, Kevin Pye wrote:
>> Because you asked for a match with a string consisting entirely of exactly 8
>> digits.
> I am not following. :'(
^beginning of string
<[0..9]> a digit
** 8 repeated exactly eig
On 10 Dec 2023, at 21:36, ToddAndMargo via perl6-users
wrote:
Hi All,
my Str $x="abc3defg"; if $x.contains( "a" || "b" || "3" ) { print "True\n"; } else {
print "False\n" };
True
Is there a way to tell .contains that you want to know
if any of a sequence characters is in a string other that
my @letters = ;
if $x.contains(any @letters) {
...
> On 10 Dec 2023, at 21:36, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> my Str $x="abc3defg"; if $x.contains( "a" || "b" || "3" ) { print "True\n";
> } else { print "False\n" };
> True
>
> Is there a way to tell .contains that yo
On 12/10/23 14:16, Kevin Pye wrote:
On Mon, 11 Dec 2023, at 07:31, ToddAndMargo via perl6-users wrote:
[0] > my Str $x="abc3defg"; if $x.match( / ^ <[0..9]> ** 8 $ / ) { print
"True\n"; } else { print "False\n" };
False
"3" is in the string. Why False?
Because you asked for a match with a
On Mon, 11 Dec 2023, at 07:31, ToddAndMargo via perl6-users wrote:
> [0] > my Str $x="abc3defg"; if $x.match( / ^ <[0..9]> ** 8 $ / ) { print
> "True\n"; } else { print "False\n" };
> False
>
> "3" is in the string. Why False?
Because you asked for a match with a string consisting entirely o
Hi All,
my Str $x="abc3defg"; if $x.contains( "a" || "b" || "3" ) { print
"True\n"; } else { print "False\n" };
True
Is there a way to tell .contains that you want to know
if any of a sequence characters is in a string other that
repeating || over and over. Any [a..z] or [0..9] option?
Many
On 12/10/23 12:25, ToddAndMargo via perl6-users wrote:
On 12/9/23 22:49, William Michels via perl6-users wrote:
f $x.match( / ^ <+[0..9] + [a..z]> ** 7 $ / ) { do something...};
What is the difference between
<+[0..9]
and
<[0..9]
And
/ ^ <+[0..9] + [a..z]> ** 7 $ /
does this
On 12/9/23 22:49, William Michels via perl6-users wrote:
f $x.match( / ^ <+[0..9] + [a..z]> ** 7 $ / ) { do something...};
What is the difference between
<+[0..9]
and
<[0..9]
And
/ ^ <+[0..9] + [a..z]> ** 7 $ /
does this mean that both [0..9] AND [a..z] have to
be present. In o
12 matches
Mail list logo