Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> ruby >> ruby-to-regexp
nabia  ] [  aramo  ]
[ Quellcode: ruby-to-regexp  ]

Paket: ruby-to-regexp (0.2.1-2)

safe way to convert strings to regexps (with options)

Provides String#to_regexp, for example if you want to make regexps out of a CSV you just imported.

Some features:

 - You can also treat strings as literal regexps.
 - If you need case insensitivity and you're using :literal, pass options
   like :ignore_case.
 - You can get the options passed to Regexp.new with #as_regexp.
 - Finally, you can be more lazy using :detect.

Andere Pakete mit Bezug zu ruby-to-regexp

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    oder ruby-interpreter
    Paket nicht verfügbar

ruby-to-regexp herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 4,5 kB24 kB [Liste der Dateien]