Surely that isn't possible, some combinations could have more than one possible
correction, eg:

[{BB] => [{B}B]
or
[{BB] => [{BB}]
or even,
[{BB] => [{}BB]
or even, (tho presumably this is invalid - some sort of black hole packaging):
[{BB]}

Perhaps the program should present the possible options and ask which is wanted?

> On Fri, 2006-05-05 at 22:52 +0900, Stuart Holden wrote:
> > Quick question about the phrase 'occasionally missing off a bracket'. Is
> > it possible to have lost more than one braket missing from the string,
> > or will it be a case of 0..1 brackets missing? I assume just one. If it
> > is possible to have more than one bracket missing, you could never trust
> > what the program was saying, even when the string was valid.
> > 
> > Ie, [{(B),(B)}] -> [(B),(B)]
> > 
> 
> Good point. Let's assume just one bracket will be missing, if any.
> Obviously, to fix it, it needs to go back in the right place.
> 
> -- 
> Ross Bamford - rosco / roscopeco.REMOVE.co.uk
> 
> 
>