Given list or array of strings, searches for one which is best matched
with whole original string (equality=true) or with some its substring
(equality=false).
Tells the character position (of string which have been matched) where
last match ends (i.e. position strictly following last character of matched region).
This class uses frej library in the way similar to "grep" tool:
you pass regexp pattern as a command line argument (you'd better use quotes)
and then enter test lines.