Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> ruby >> ruby-to-regexp
nabia  ] [  aramo  ]
[ 源代码: ruby-to-regexp  ]

软件包: 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.

其他与 ruby-to-regexp 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    或者 ruby-interpreter
    软件包暂时不可用

下载 ruby-to-regexp

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 4.5 kB24 kB [文件列表]