[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua Patterns: How do I express this pattern?
- From: Rici Lake <lua@...>
- Date: Sun, 24 Apr 2005 11:48:25 -0500
On 24-Apr-05, at 11:13 AM, Cena, Resty wrote:
How do I express this pattern:
that is, a sequence of any C(onsonant) followed by a specific letter,
in this case r, followed by any V(owel).
I guess if I can define somewhere that
then I can easily say:
Any help on how I can accomplish this?
anyway, leaving out curiosities like when y is a vowel:
V = "[aeiouyAEIOUY]"
K = "[bcdfghjklmnpqrstvwxzBCDFGHJKLMNPQRSTVWXZ]"
consonant_y_vowel = krv"y"