\HeaderA{pmatchPattern}{Longest Common Prefix/Suffix/Substring searching functions}{pmatchPattern}
\aliasA{lcprefix}{pmatchPattern}{lcprefix}
\aliasA{lcprefix,character,character-method}{pmatchPattern}{lcprefix,character,character.Rdash.method}
\aliasA{lcprefix,character,XString-method}{pmatchPattern}{lcprefix,character,XString.Rdash.method}
\aliasA{lcprefix,XString,character-method}{pmatchPattern}{lcprefix,XString,character.Rdash.method}
\aliasA{lcprefix,XString,XString-method}{pmatchPattern}{lcprefix,XString,XString.Rdash.method}
\aliasA{lcsubstr}{pmatchPattern}{lcsubstr}
\aliasA{lcsubstr,character,character-method}{pmatchPattern}{lcsubstr,character,character.Rdash.method}
\aliasA{lcsubstr,character,XString-method}{pmatchPattern}{lcsubstr,character,XString.Rdash.method}
\aliasA{lcsubstr,XString,character-method}{pmatchPattern}{lcsubstr,XString,character.Rdash.method}
\aliasA{lcsubstr,XString,XString-method}{pmatchPattern}{lcsubstr,XString,XString.Rdash.method}
\aliasA{lcsuffix}{pmatchPattern}{lcsuffix}
\aliasA{lcsuffix,character,character-method}{pmatchPattern}{lcsuffix,character,character.Rdash.method}
\aliasA{lcsuffix,character,XString-method}{pmatchPattern}{lcsuffix,character,XString.Rdash.method}
\aliasA{lcsuffix,XString,character-method}{pmatchPattern}{lcsuffix,XString,character.Rdash.method}
\aliasA{lcsuffix,XString,XString-method}{pmatchPattern}{lcsuffix,XString,XString.Rdash.method}
\aliasA{pmatchPattern,character-method}{pmatchPattern}{pmatchPattern,character.Rdash.method}
\aliasA{pmatchPattern,XString-method}{pmatchPattern}{pmatchPattern,XString.Rdash.method}
\aliasA{pmatchPattern,XStringViews-method}{pmatchPattern}{pmatchPattern,XStringViews.Rdash.method}
\keyword{methods}{pmatchPattern}
\begin{Description}\relax
Functions for searching the Longest Common Prefix/Suffix/Substring
of two strings.

WARNING: These functions are experimental and might
not work properly! Full documentation will come later.

Please send questions/comments to hpages@fhcrc.org

Thanks for your comprehension!
\end{Description}
\begin{Usage}
\begin{verbatim}
  lcprefix(s1, s2)
  lcsuffix(s1, s2)
  lcsubstr(s1, s2)
  pmatchPattern(pattern, subject, maxlength.out=1L)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{s1}] 1st string, a character string or an \LinkA{XString}{XString} object.

\item[\code{s2}] 2nd string, a character string or an \LinkA{XString}{XString} object.

\item[\code{pattern}] The pattern string.

\item[\code{subject}] An \LinkA{XString}{XString} object containing the subject string.

\item[\code{maxlength.out}] The maximum length of the output i.e. the maximum number of views
in the returned object.

\end{ldescription}
\end{Arguments}
\begin{SeeAlso}\relax
\LinkA{matchPattern}{matchPattern},
\LinkA{XStringViews-class}{XStringViews.Rdash.class},
\LinkA{XString-class}{XString.Rdash.class}
\end{SeeAlso}

