Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> 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 [文件列表]