Class: String

### Home Classes Methods

### In Files

- lib/oniguruma.rb

### Parent

Object

### Methods

- #ogsub
- #ogsub!
- #osub
- #osub!

### Files

- Makefile

### Class/Module Index

Quicksearch

- Oniguruma
- Oniguruma::ORegexp
- MatchData
- String

No matching classes.

# String

### Public Instance Methods

ogsub(*args) click to toggle source

Calls `Oniguruma::ORegexp#gsub` on this string.

    # File lib/oniguruma.rb, line 297
    def ogsub(*args)
       Oniguruma::ORegexp.new(args.shift).gsub(self, *args)
    end

ogsub!(*args) click to toggle source

Calls `Oniguruma::ORegexp#gsub!` on this string.

    # File lib/oniguruma.rb, line 302
    def ogsub!(*args)
       Oniguruma::ORegexp.new(args.shift).gsub!(self, *args)
    end

osub(re, *args) click to toggle source

Calls `Oniguruma::ORegexp#sub` on this string.

    # File lib/oniguruma.rb, line 307
    def osub(re, *args)
       Oniguruma::ORegexp.new( re ).sub(self, *args)
    end

osub!(re, *args) click to toggle source

Calls `Oniguruma::ORegexp#sub!` on this string.

    # File lib/oniguruma.rb, line 312
    def osub!(re, *args)
       Oniguruma::ORegexp.new( re ).sub(self, *args)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.