in reply to Re: regular xpression stuff
in thread regular xpression stuff

If I'm understanding the question correctly, this will not work.

It seems that the inquiring monk wants to match each letter once and only once.
/^[bat]{3}$/ could match 'ttt', 'bba', 'aaa', etc. If that *is* undesirable, Masem's excellent reply is probably the best way to go.

Replies are listed 'Best First'.
Re: Re: Re: regular xpression stuff
by Parham (Friar) on Jan 21, 2002 at 01:01 UTC
    count0++ i forgot to take that into consideration