[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Lua Patterns: How do I express this pattern?
- From: "Cena, Resty" <rcena@...>
- Date: Sun, 24 Apr 2005 23:02:20 -0600
Title: RE: Lua Patterns: How do I express this pattern?
Thank you very much for the reply. As a nubie, I'll have to sit down and munch on this for a while to get it ...
From: email@example.com on behalf of Rici Lake
Sent: Sun 4/24/2005 10:48 AM
To: Lua list
Subject: Re: Lua Patterns: How do I express this pattern?
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
> %k (consonants)
> $v (vowels)
> 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"
This e-mail contains confidential information that is proprietary to EPCOR and its subsidiary companies in all respects. This information is intended only for the person(s) named in the destination address. Unauthorized distribution, copying or disclosure is strictly prohibited. If you receive this e-mail in error, please delete it immediately.