pmatchPattern           package:Biostrings           R Documentation

_L_o_n_g_e_s_t _C_o_m_m_o_n _P_r_e_f_i_x/_S_u_f_f_i_x/_S_u_b_s_t_r_i_n_g _s_e_a_r_c_h_i_n_g _f_u_n_c_t_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     Functions for searching the Longest Common Prefix/Suffix/Substring
     of two strings.

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

     Please send questions/comments to hpages@fhcrc.org

     Thanks for your comprehension!

_U_s_a_g_e:

       lcprefix(s1, s2)
       lcsuffix(s1, s2)
       lcsubstr(s1, s2)
       pmatchPattern(pattern, subject, maxlength.out=1L)

_A_r_g_u_m_e_n_t_s:

      s1: 1st string, a character string or an XString object. 

      s2: 2nd string, a character string or an XString object. 

 pattern: The pattern string. 

 subject: An XString object containing the subject string. 

maxlength.out: The maximum length of the output i.e. the maximum number
          of views in the returned object. 

_D_e_t_a_i_l_s:

     [TODO]

_V_a_l_u_e:

     [TODO]

_S_e_e _A_l_s_o:

     matchPattern, XStringViews-class, XString-class

_E_x_a_m_p_l_e_s:

       ## [TODO]

