From: Matthew Moss Date: 2008-07-04T05:27:31+09:00 Subject: Re: Statistician I (#167) On Jul 3, 2:51 pm, ThoML wrote: > > Foo \[bar\] foo. > > > The gsubs will turn such a rule into: Foo [bar] foo. > > Okay ... well, uhm ... rewind ... undo e-mail ... I assumed escape > rules that are specified in the quiz. So it's okay if you don't want > to match text containing brackets. Basically, the quiz specification isn't too specific about these sorts of things. The basic assumption I made (which I should have stated out) was that the data input would not contain square/angle brackets. If the specification was complete (i.e. what to do about matching literal brackets), the code might have to be changed accordingly. In either case, it would still be the situation where the escaped string cannot be confused, whereas the modify-escape-modify string could still suffer from confusion, if the temporary placeholder is possible as input data.