B
basi
Merry Christmas!
But work goes on
Just trying a way to match duplicate syllables.
C = "bcdfghjklmnpqrstvwxyz"
V = "aeiou"
aString =~ /[#{C}][#{V}][#{C}][#{V}]/
should match if the first CV matches the next CV. Hence, "waikiki"
should match on "kiki". And "dodo", "paparazzi" should match too.
Thanks!
basi
But work goes on
Just trying a way to match duplicate syllables.
C = "bcdfghjklmnpqrstvwxyz"
V = "aeiou"
aString =~ /[#{C}][#{V}][#{C}][#{V}]/
should match if the first CV matches the next CV. Hence, "waikiki"
should match on "kiki". And "dodo", "paparazzi" should match too.
Thanks!
basi