roodhu001 (4) [Avatar] Offline
#1
Hi,

The match

twister ==~ /(w+ w+)*/

works only for sentences with an even number of words. Would the following be a better match expression?

twister ==~ /w+( w+)*/

Greetings,
Ad