text_combined: gabor grothendieck ggrothendieckgmailcom wed aug 6 2008 901 tomo wrote matching problem cant solve mystring xxxxxyyyyyzzzz xxyyzz basiclly anything letters digits etc im interested content within close really yet librarygsubfn strapplymystring perlf gives 1 1 xx yyy z add code remove answer surround portion want parentheses makes backreference ask backreference rather entire match 1 means return 1 backreference entire match strapplymystring backref 1 ______________________________________________ rhelprprojectorg mailing list httpsstatethzchmailmanlistinforhelp please read posting guide httpwwwrprojectorgpostingguidehtml provide commented minimal selfcontained reproducible code wed 06 aug 2008 123956 0400 r matching problem