Skip to content
Sections
>> Trisquel >> Paquets >> aramo >> ruby >> ruby-to-regexp
nabia  ] [  aramo  ]
[ Paquet source : ruby-to-regexp  ]

Paquet : 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.

Autres paquets associés à ruby-to-regexp

  • dépendances
  • recommandations
  • suggestions
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    ou ruby-interpreter
    Paquet indisponible

Télécharger ruby-to-regexp

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 4,5 ko24 ko [liste des fichiers]