Determine sentence type: Difference between revisions

m
→‎{{header|Raku}}: leave out the implicit
(→‎{{header|Raku}}: Add a Raku example)
m (→‎{{header|Raku}}: leave out the implicit)
Line 175:
 
say join '|', $paragraph.&get_sentences.map: {
$_ ~~ /(<:punct>)$/;
given $0 {
when '!' { 'E' };
10,327

edits