match_brace: Utility Function for Matching a Closing Brace
Description
Given positions of opening and closing braces match_brace
identifies
the closing brace matching the first opening brace.
Usage
match_brace(opening, closing)
Arguments
opening
integer: Vector with positions of opening braces.
closing
integer: Vector with positions of closing braces.
Value
Integer with the posision of the matching brace.