class GLib::Regex - glib2-3.2.9 Documentation

# class GLib::Regex

### Public Class Methods

match?(pattern, string, options={}) click to toggle source

    # File lib/glib2/regex.rb, line 20
    def match?(pattern, string, options={})
      new(pattern, options).match(string, options).matches?
    end

split(pattern, string, options={}) click to toggle source

    # File lib/glib2/regex.rb, line 24
    def split(pattern, string, options={})
      new(pattern, options).split(string, options)
    end