Method: PCRE2::MatchData#initialize
- Defined in:
- lib/pcre2/matchdata.rb
#initialize(regexp, string, pairs) ⇒ MatchData
Returns a new instance of MatchData.
4 5 6 7 8 |
# File 'lib/pcre2/matchdata.rb', line 4 def initialize(regexp, string, pairs) @regexp = regexp @string = string @pairs = pairs end |