Skip to content
Sections
>> Trisquel >> Paket >> aramo >> ruby >> ruby-to-regexp
nabia  ] [  aramo  ]
[ Källkod: 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.

Andra paket besläktade med ruby-to-regexp

  • beror
  • rekommenderar
  • föreslår
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    eller ruby-interpreter
    Paketet inte tillgängligt

Hämta ruby-to-regexp

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 4,5 kbyte24 kbyte [filförteckning]