ライブラリ
- ビルトイン (603)
- csv (24)
- etc (12)
-
json
/ add / regexp (24) -
minitest
/ spec (2) -
minitest
/ unit (1) - pathname (12)
-
rdoc
/ markup (24) -
rdoc
/ parser (24) - resolv (84)
- scanf (6)
- strscan (120)
- uri (36)
クラス
- CSV (24)
- MatchData (12)
- Module (1)
- Object (13)
- Pathname (12)
-
RDoc
:: Markup (24) -
RDoc
:: Options (24) -
RDoc
:: Parser (24) - Regexp (393)
- Resolv (12)
-
Resolv
:: IPv4 (12) -
Resolv
:: IPv6 (60) -
Scanf
:: FormatString (6) - String (129)
- StringScanner (120)
- Symbol (33)
モジュール
- Etc (12)
- Kernel (24)
-
MiniTest
:: Assertions (1) - URI (36)
キーワード
-
$ -F (12) -
$ ; (12) - == (12)
- === (12)
- =~ (12)
- AddressRegex (12)
- DateMatcher (12)
- DateTimeMatcher (12)
- EXTENDED (12)
- FIXEDENCODING (12)
- IGNORECASE (12)
-
LABEL
_ LIST _ RE (12) - MULTILINE (12)
- NOENCODING (12)
- RREGEXP (12)
- Regex (24)
-
Regex
_ 6Hex4Dec (12) -
Regex
_ 8Hex (12) -
Regex
_ CompressedHex (12) -
Regex
_ CompressedHex4Dec (12) - Regexp (12)
- RegexpError (12)
-
SC
_ REGEXP (12) -
SEPARATOR
_ PAT (12) -
SIMPLE
_ LIST _ RE (12) - UNSAFE (12)
- [] (36)
- []= (36)
-
assert
_ match (1) - casefold? (12)
- check (12)
-
check
_ until (12) - compile (12)
- encoding (12)
- eql? (12)
- escape (12)
- exclude (12)
- exist? (12)
-
extra
_ accessors (12) -
fixed
_ encoding? (12) - hash (12)
-
infect
_ with _ assertions (1) - inspect (12)
-
json
/ add / regexp (12) -
json
_ create (12) -
last
_ match (24) - match (48)
- match? (39)
-
must
_ match (1) -
named
_ captures (12) - names (12)
- new (12)
-
parse
_ files _ matching (12) - parsers (12)
- quote (12)
- regexp (36)
-
ruby 1
. 8 . 4 feature (12) - 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
_ regexp (12) -
to
_ s (12) -
try
_ convert (12) - union (12)
- ~ (12)
- 正規表現 (12)
検索結果
先頭5件
-
Scanf
:: FormatString :: REGEX (18101.0) -
@todo
@todo -
Resolv
:: IPv6 :: Regex -> Regexp (6265.0) -
IPv6のアドレスの正規表現です。 Resolv::IPv6::Regex_6Hex4Dec, Resolv::IPv6::Regex_8Hex, Resolv::IPv6::Regex_CompressedHex, Resolv::IPv6::Regex_CompressedHex4Dec, のいずれかとマッチする文字列とマッチします。
...IPv6のアドレスの正規表現です。
Resolv::IPv6::Regex_6Hex4Dec,
Resolv::IPv6::Regex_8Hex,
Resolv::IPv6::Regex_CompressedHex,
Resolv::IPv6::Regex_CompressedHex4Dec,
のいずれかとマッチする文字列とマッチします。... -
Resolv
:: IPv6 :: Regex _ 6Hex4Dec -> Regexp (6204.0) -
IPv6の各文字列表記とマッチする正規表現です。順に * a:b:c:d:e:f:w.x.y.z * a:b:c:d:e:f:g:h * a::b * a::b:w.x.y.z という文字列とマッチします。
IPv6の各文字列表記とマッチする正規表現です。順に
* a:b:c:d:e:f:w.x.y.z
* a:b:c:d:e:f:g:h
* a::b
* a::b:w.x.y.z
という文字列とマッチします。 -
Resolv
:: IPv6 :: Regex _ 8Hex -> Regexp (6204.0) -
IPv6の各文字列表記とマッチする正規表現です。順に * a:b:c:d:e:f:w.x.y.z * a:b:c:d:e:f:g:h * a::b * a::b:w.x.y.z という文字列とマッチします。
IPv6の各文字列表記とマッチする正規表現です。順に
* a:b:c:d:e:f:w.x.y.z
* a:b:c:d:e:f:g:h
* a::b
* a::b:w.x.y.z
という文字列とマッチします。 -
Resolv
:: IPv6 :: Regex _ CompressedHex -> Regexp (6204.0) -
IPv6の各文字列表記とマッチする正規表現です。順に * a:b:c:d:e:f:w.x.y.z * a:b:c:d:e:f:g:h * a::b * a::b:w.x.y.z という文字列とマッチします。
IPv6の各文字列表記とマッチする正規表現です。順に
* a:b:c:d:e:f:w.x.y.z
* a:b:c:d:e:f:g:h
* a::b
* a::b:w.x.y.z
という文字列とマッチします。 -
Resolv
:: IPv6 :: Regex _ CompressedHex4Dec -> Regexp (6204.0) -
IPv6の各文字列表記とマッチする正規表現です。順に * a:b:c:d:e:f:w.x.y.z * a:b:c:d:e:f:g:h * a::b * a::b:w.x.y.z という文字列とマッチします。
IPv6の各文字列表記とマッチする正規表現です。順に
* a:b:c:d:e:f:w.x.y.z
* a:b:c:d:e:f:g:h
* a::b
* a::b:w.x.y.z
という文字列とマッチします。 -
Resolv
:: IPv4 :: Regex -> Regexp (6201.0) -
IPv4 のアドレスの正規表現です。
IPv4 のアドレスの正規表現です。 -
MatchData
# regexp -> Regexp (6200.0) -
自身の元になった正規表現オブジェクトを返します。
...自身の元になった正規表現オブジェクトを返します。
//emlist[例][ruby]{
m = /a.*b/.match("abc")
m.regexp # => /a.*b/
//}... -
Object
# to _ regexp -> Regexp (6200.0) -
オブジェクトの Regexp への暗黙の変換が必要なときに内部で呼ばれます。 デフォルトでは定義されていません。
...オブジェクトの Regexp への暗黙の変換が必要なときに内部で呼ばれます。
デフォルトでは定義されていません。
説明のためここに記載してありますが、
このメソッドは実際には Object クラスには定義されていません。
必......ての場面で代置可能であるような、
* 正規表現そのものとみなせるようなもの
という厳しいものになっています。
//emlist[][ruby]{
class Foo
def to_regexp
/[\d]+/
end
end
it = Foo.new
p Regexp.union(/^at/, it) #=> /(?-mix:^at)|(?-mix:[\d]+)/
//}...