in reply to Re: Regexp and transliteration between languages
in thread Regexp and transliteration between languages
I really like the parenthesis collection feature in split.while ($word) { ($consonants, $vowel, $word) = split(/([aeiou])/, $word, 2); # do something here }
|
|---|