1868件ヒット
[101-200件を表示]
(0.081秒)
別のキーワード
種類
ライブラリ
- ビルトイン (792)
- bigdecimal (24)
- csv (24)
- e2mmap (12)
- etc (36)
-
json
/ add / regexp (24) - matrix (24)
-
minitest
/ mock (1) -
minitest
/ spec (2) -
minitest
/ unit (5) -
net
/ imap (12) - openssl (240)
- pathname (12)
- rake (12)
- rbconfig (12)
-
rdoc
/ markup (24) -
rdoc
/ parser (24) -
rdoc
/ text (12) - resolv (96)
-
rexml
/ document (96) - rss (12)
-
rubygems
/ package / tar _ input (12) -
rubygems
/ package / tar _ reader (12) - shell (6)
-
shell
/ command-processor (6) - strscan (120)
- uri (36)
-
win32
/ registry (36)
クラス
- Array (21)
- BigDecimal (12)
- Binding (12)
-
CGI
:: Cookie (24) - CSV (24)
-
Etc
:: Passwd (12) - File (12)
- Float (48)
-
Gem
:: Package :: TarInput (12) - MatchData (12)
- Matrix (24)
-
MiniTest
:: Mock (1) - Module (1)
-
Net
:: IMAP (12) - Object (13)
-
OpenSSL
:: PKey :: DH (36) -
OpenSSL
:: PKey :: DSA (72) -
OpenSSL
:: PKey :: RSA (96) - Pathname (12)
-
RDoc
:: Markup (24) -
RDoc
:: Options (24) -
RDoc
:: Parser (24) -
REXML
:: Document (48) - Regexp (393)
- Resolv (12)
-
Resolv
:: DNS :: Resource :: SOA (12) -
Resolv
:: IPv4 (12) -
Resolv
:: IPv6 (60) - Shell (6)
-
Shell
:: CommandProcessor (6) - String (153)
- StringScanner (120)
- Symbol (33)
-
Win32
:: Registry (24)
モジュール
- BigMath (12)
- Enumerable (48)
- Etc (24)
- Exception2MessageMapper (12)
- Kernel (24)
- Math (36)
-
MiniTest
:: Assertions (5) -
OpenSSL
:: OCSP (12) -
OpenSSL
:: X509 (24) -
RDoc
:: Text (12) -
REXML
:: Namespace (24) -
REXML
:: Security (24) - RbConfig (12)
- URI (36)
-
Win32
:: Registry :: Constants (12)
キーワード
-
$ -F (12) -
$ ; (12) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - == (12)
- === (12)
- =~ (12)
- AddressRegex (12)
- DateMatcher (12)
- DateTimeMatcher (12)
- EXTENDED (12)
- FIXEDENCODING (12)
- IGNORECASE (12)
-
LABEL
_ LIST _ RE (12) -
MAX
_ 10 _ EXP (12) -
MAX
_ EXP (12) -
MIN
_ 10 _ EXP (12) -
MIN
_ EXP (12) - MULTILINE (12)
- NOENCODING (12)
- NOEXPLICIT (12)
- NotExpectedTagError (12)
-
REG
_ EXPAND _ SZ (12) - RREGEXP (12)
- Regex (24)
-
Regex
_ 6Hex4Dec (12) -
Regex
_ 8Hex (12) -
Regex
_ CompressedHex (12) -
Regex
_ CompressedHex4Dec (12) - Regexp (12)
- RegexpError (12)
-
SC
_ EXPR _ NEST _ MAX (12) -
SC
_ REGEXP (12) -
SEPARATOR
_ PAT (12) -
SIMPLE
_ LIST _ RE (12) - UNSAFE (12)
- UnexpectedEOF (12)
-
V
_ ERR _ CERT _ HAS _ EXPIRED (12) -
V
_ ERR _ CRL _ HAS _ EXPIRED (12) - [] (36)
- []= (36)
-
assert
_ equal (1) -
assert
_ in _ delta (1) -
assert
_ in _ epsilon (1) -
assert
_ match (1) -
assert
_ same (1) - bigdecimal (12)
- casefold? (12)
- check (12)
-
check
_ until (12) -
cofactor
_ expansion (12) - compile (12)
- encoding (12)
-
entity
_ expansion _ limit (24) -
entity
_ expansion _ text _ limit (24) - eql? (12)
- escape (12)
- eval (12)
- exclude (12)
- exist? (12)
- expect (1)
- expire (24)
- expires (12)
- expires= (12)
- exponent (12)
- export (60)
- expunge (12)
-
extra
_ accessors (12) -
extract
_ entry (12) -
fixed
_ encoding? (12) - frexp (12)
- generate (24)
- hash (12)
-
infect
_ with _ assertions (1) - inspect (12)
-
json
/ add / regexp (12) -
json
_ create (12) -
laplace
_ expansion (12) -
last
_ match (24) - log (24)
- match (48)
- match? (39)
-
max
_ by (48) -
must
_ match (1) - name (12)
-
named
_ captures (12) - names (12)
- new (12)
- pack (21)
- pack テンプレート文字列 (12)
-
parse
_ files _ matching (12) - parsers (12)
-
pathmap
_ explode (12) - quote (12)
-
rb
_ get _ method _ body (12) - regexp (36)
- scan (12)
-
scan
_ full (12) -
scan
_ until (12) -
search
_ full (12) - skip (12)
-
skip
_ until (12) - slice (36)
- slice! (12)
- source (12)
-
to
_ json (12) -
to
_ pem (60) -
to
_ regexp (12) -
to
_ s (72) -
try
_ convert (12) - union (12)
- unpack (12)
- ~ (12)
- プログラム・文・式 (12)
- 正規表現 (12)
検索結果
先頭5件
-
RSS
:: NotExpectedTagError (12000.0) -
-
Regexp (12000.0)
-
正規表現のクラス。正規表現のリテラルはスラッシュで囲んだ形式 で記述します。
...s regexp/
//}
Regexp.new(string) を使って正規表現オブジェクトを動的に生成する
こともできます。
//emlist[][ruby]{
str = "this is regexp"
rp1 = Regexp.new("^this is regexp")
p rp1 =~ str # => 0
p Regexp.last_match[0] # => "this is regexp"
//}
spec/regexp や......d:spec/literal#regexp も参照してください。......{
/^this is regexp/
//}
Regexp.new(string) を使って正規表現オブジェクトを動的に生成する
こともできます。
//emlist[][ruby]{
str = "this is regexp"
rp1 = Regexp.new("^this is regexp")
p rp1 =~ str # => 0
p Regexp.last_match[0] # => "this is regexp"
//}
Ruby 3.......0.0 から正規表現リテラルは freeze されるようになりました。
//emlist[][ruby]{
p /abc/.frozen?
# => true
p /a#{42}bc/.frozen?
# => true
p Regexp.new('abc').frozen?
# => false
//}
spec/regexp や d:spec/literal#regexp も参照してください。... -
RegexpError (12000.0)
-
正規表現のコンパイルに失敗したときに発生します。
...正規表現のコンパイルに失敗したときに発生します。
例:
$ ruby -e 'Regexp.compile("*")'
-e:1:in `initialize': target of repeat operator is not specified: /*/ (RegexpError)
from -e:1:in `Regexp#compile'
from -e:1... -
json
/ add / regexp (12000.0) -
Regexp に JSON 形式の文字列に変換するメソッドや JSON 形式の文字列から Ruby のオブジェクトに変換するメソッドを定義します。
...Regexp に JSON 形式の文字列に変換するメソッドや JSON 形式の文字列から Ruby のオブジェクトに変換するメソッドを定義します。... -
RbConfig
. expand(val , config = CONFIG) -> String (9300.0) -
与えられたパスを展開します。
...パスを展開します。
RbConfig.expand("$(bindir)") # => /home/foobar/all-ruby/ruby19x/bin
@param val 展開したい変数名を Makefile に書く形式で指定します。
@param config 変数展開に使用する設定を Hash で指定します。
@see RbConfig::MAKEFILE_CONFIG... -
Exception2MessageMapper
. e2mm _ message(klass , exp) -> String | nil (9208.0) -
@todo
...@todo
@param klass
@param exp... -
Exception2MessageMapper
. message(klass , exp) -> String | nil (9208.0) -
@todo
...@todo
@param klass
@param exp... -
BigDecimal
# exponent -> Integer (9200.0) -
self の指数部を整数値で返します。
self の指数部を整数値で返します。 -
Regexp
# encoding -> Encoding (9200.0) -
正規表現オブジェクトのエンコーディングを表す Encoding オブジェクト を返します。
...正規表現オブジェクトのエンコーディングを表す Encoding オブジェクト
を返します。
@see d:spec/regexp#encoding... -
Win32
:: Registry :: Constants :: REG _ EXPAND _ SZ (9200.0) -
@todo
@todo
レジストリ値の型。