in reply to JAVA [[a-z]&&[^aeiou]] equivalence
#!/usr/bin/perl use strict; # https://perlmonks.org/?node_id=11160494 use warnings; $SIG{__WARN__} = sub { die @_ }; my @match = grep /(?=[^aeiou])[a-z]/, map chr, 0 .. 255; print "match = @match\n";
Outputs:
match = b c d f g h j k l m n p q r s t v w x y z
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: JAVA [[a-z]&&[^aeiou]] equivalence
by vincentaxhe (Scribe) on Jul 10, 2024 at 06:48 UTC | |
by hippo (Archbishop) on Jul 10, 2024 at 12:55 UTC | |
by LanX (Saint) on Jul 10, 2024 at 14:22 UTC | |
|