Re: exegesis 5 question: matching negative, multi-byte strings

2002-10-07 Thread esp5
On Mon, Oct 07, 2002 at 07:11:08AM -0500, [EMAIL PROTECTED] wrote: > > match negative multi-byte strings > > > in perl5, I'd tend to do > > m/(?:(?!union).)*/is > > or to capture > > m/((?:(?!union).)*)/is yeah, I'm not arguing that there isn't a solution available, just that the so

Re: exegesis 5 question: matching negative, multi-byte strings

2002-10-07 Thread m_perl6lang_2002100700
> match negative multi-byte strings in perl5, I'd tend to do m/(?:(?!union).)*/is or to capture m/((?:(?!union).)*)/is I suppose you could use union\b instead of union if you wanted allow 'unions' but disallow 'union'. The general idea is "gobble up each character that isn't the

Re: Interfaces

2002-10-07 Thread Daniel B. Boorstein
On Sunday 06 October 2002 09:57 pm, Michael G Schwern wrote: > On Sun, Oct 06, 2002 at 01:49:26AM -0400, Noah White wrote: > > >OTOH, Java interfaces have a loophole which is considered a design > > >mistake. > > >An interface can declare some parts of the interface optional and then > > >implemen

Re: Draft Proposal: Attributes: "public" vs. "private"

2002-10-07 Thread Chris Dutton
On Sunday, October 6, 2002, at 12:57 AM, Noah White wrote: >> >>> Note that an alternate definition of "private" is often used, as >>> follows: >>> >>> A "private" attribute is an attribute whose scope is restricted >>> such that >>> it may be accessed only within the class in which it

Re: Interfaces

2002-10-07 Thread Andy Wardley
Nicholas Clark wrote: > I think that the first syntax > > class Car::Q is Car renames(eject => ejector_seat) > is CD_Player renames(drive => cd_drive); > > makes it more clear that I'd like to pick and choose which methods > the composite object gets from which parent. But now you'