Re: Matching opening and closing characters: How?

From: Hans Aberg (haberg@math.su.se)
Date: Fri Aug 07 2009 - 14:54:47 CDT

  • Next message: Kenneth Whistler: "Reserved and Unassigned (was: Re: Wanted: synonyms for Age)"

    On 7 Aug 2009, at 09:46, Joachim Durchholz wrote:

    > Problem group 2: How to determine that two characters match?
    >
    > Assuming I have an opening and a closing character and know they're
    > either parentheses or quotes: On what criteria could I base that they
    > match or don't?
    > E.g. ( would match ), but ( would not match ].

    This is a parsing problem, as for example in math semi-open intervals
    may be denoted by [x, y) and (x, y].

       Hans



    This archive was generated by hypermail 2.1.5 : Fri Aug 07 2009 - 14:58:18 CDT