Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Re: regular xpression stuff

by count0 (Friar)
on Jan 21, 2002 at 00:44 UTC ( #140241=note: print w/ replies, xml ) Need Help??

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.

Comment on Re: Re: regular xpression stuff
Download Code
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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://140241]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2015-11-25 07:22 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (672 votes), past polls