Well, not. That would mean "to be at the beginning or not to be at the end". And the /(?!bb)$ would match anything. If you are at the very end of the string you may be sure there are not two more "b"s left. :-)
Jenda
Always code as if the guy who ends up maintaining your code
will be a violent psychopath who knows where you live.
-- Rick Osborne
Edit by castaway: Closed small tag in signature
In reply to Re: Re: to be or not to be...
by Jenda
in thread to be or not to be...
by cLive ;-)
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |