On Mon, Aug 02, 1999 at 05:40:58PM -0400, Stevie Strickland wrote: > > Maybe something with a negative lookahead... (coworker suggested this) > > > > /([aou]|au)(?=[^aou]*$)/ > > Hmmmm... that looks good, I was looking at negative lookaheads, myself, > but I wasn't *too* sure on how to use them... I see, they're just what > would be next in the regex without actually using it (so the > /$accent{$1}$2/ in my s/// could just be /$accent{$1}/... thanks :) Oops, I should have caught that in my response... That's a positive lookahead, not a negative lookahead. Negative lookahead is (?!re). Positive is what you want there, just the wrong name for it was used. Ronald ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe