# File lib/facet/matchdata/match_from.rb, line 14 def pre_match_from(n=0) return pre_match if n == 0 n = length + n if n < 0 upto = offset(n)[0] - 1 "#{pre_match}#{match[0...upto]}" #.to_s end