| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Tools
Tools.Hilfe
Tools.Hilfe.Expression

# Method Tools.Hilfe.Expression()->find_matching()

Method find_matching

  `int(-1..) find_matching(string token, int(0..)|void pos)`

Description

  Returns the position of the matching parenthesis of the given kind, starting from the given position. The position should be the position after the opening parenthesis, or later. Assuming balanced code. Returns -1 on failure.