EControl Syntax Editor SDK
TTokenRule.Match Method

Matches Expression with the text (Source) at the position (Pos).

function Match(const Source: ecString; Pos: integer): integer;


Returns length of the Source sub-string that matches to the Expression. If Result value is 0, token rule fails.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!