Class: Regexp

Inherits:
Object show all
Defined in:
lib/ruuuby/class/re.rb

Overview

add various functions to existing class Regexp

Defined Under Namespace

Modules: Syntax

Class Method Summary collapse

Class Method Details

.gen_closed_match(expression) ⇒ Regexp

Returns a new instance-of(Regexp) with a strict match of the expression provided.

Parameters:

Returns:

  • (Regexp)

    a new instance-of(Regexp) with a strict match of the expression provided



27
28
29
30
# File 'lib/ruuuby/class/re.rb', line 27

def self.gen_closed_match(expression)