381件ヒット
[1-100件を表示]
(0.042秒)
種類
- 特異メソッド (177)
- モジュール関数 (132)
- インスタンスメソッド (36)
- 文書 (24)
- ライブラリ (12)
ライブラリ
- ビルトイン (24)
-
cgi
/ util (120) - erb (48)
-
rubygems
/ remote _ fetcher (24) - shellwords (36)
- uri (21)
-
webrick
/ accesslog (12) -
webrick
/ htmlutils (12) -
webrick
/ httputils (48)
クラス
- CGI (120)
-
Gem
:: RemoteFetcher (24) - Regexp (24)
- String (12)
モジュール
-
ERB
:: Util (48) - Shellwords (24)
- URI (21)
-
WEBrick
:: AccessLog (12) -
WEBrick
:: HTMLUtils (12) -
WEBrick
:: HTTPUtils (48)
キーワード
- encode (7)
- escape8bit (12)
- escapeElement (12)
- escapeHTML (12)
-
escape
_ element (12) -
escape
_ html (12) -
escape
_ path (12) - h (12)
-
html
_ escape (12) - quote (12)
- rdoc (12)
-
ruby 1
. 8 . 3 feature (12) - shellescape (24)
- u (12)
- unescape (43)
- unescapeElement (12)
- unescapeHTML (12)
-
unescape
_ element (12) -
unescape
_ html (12) -
url
_ encode (12) - 正規表現 (12)
検索結果
先頭5件
-
Regexp
. escape(string) -> String (18333.0) -
string の中で正規表現において特別な意味を持つ文字の直前にエ スケープ文字(バックスラッシュ)を挿入した文字列を返します。
...
string の中で正規表現において特別な意味を持つ文字の直前にエ
スケープ文字(バックスラッシュ)を挿入した文字列を返します。
@param string 正規表現において特別な意味をもつ文字をもつ文字列を指定します。
//emlist[例][ru......by]{
rp = Regexp.escape("$bc^")
p rp # => "\\$bc\\^"
//}... -
CGI
. escape(string) -> String (18321.0) -
与えられた文字列を URL エンコードした文字列を新しく作成し返します。
...新しく作成し返します。
@param string URL エンコードしたい文字列を指定します。
例:
require "cgi"
p CGI.escape('@##') #=> "%40%23%23"
url = "http://www.example.com/register?url=" +
CGI.escape('http://www.example.com/index.rss')... -
WEBrick
:: HTMLUtils . # escape(string) -> String (18315.0) -
指定された文字列に含まれる ", &, <, > を文字実体参照に変換した文字列を 生成して返します。
...定された文字列に含まれる ", &, <, > を文字実体参照に変換した文字列を
生成して返します。
@param string エスケープしたい文字列を指定します。
require 'webrick'
p WEBrick::HTMLUtils.escape('/?q=foo&hl=<ja>') #=> "/?q=foo&hl=<ja>"... -
Gem
:: RemoteFetcher # escape(str) -> String (18208.0) -
URI 文字列をエンコードした文字列を返します。
...URI 文字列をエンコードした文字列を返します。
@param str 文字列を指定します。
@see URI.escape... -
WEBrick
:: HTTPUtils . # escape(str) -> String (18208.0) -
与えられた文字列を数値参照文字列に変換します。
...ます。
control = (0x0..0x1f).collect{|c| c.chr }.join + "\x7f"
space = " "
delims = '<>#%"'
unwise = '{}|\\^[]`'
nonascii = (0x80..0xff).collect{|c| c.chr }.join
/[#{Regexp.escape(control + space + delims + unwise + nonascii)}]/n
@param str 文字列を指定します。... -
Shellwords
. escape(str) -> String (18202.0) -
文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。
...を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。
このメソッドは、Shellwords.#shellescape の別名です。
@param str エスケープの対象となる文字列を指定します。
@return エスケープされた文字列を返し... -
WEBrick
:: AccessLog . # escape(data) -> String (18202.0) -
与えられた文字列が汚染されている場合、制御文字を無効化します。
与えられた文字列が汚染されている場合、制御文字を無効化します。
@param data エスケープする文字列を指定します。 -
URI
. escape(str , unsafe = URI :: UNSAFE) -> String (15227.0) -
URI 文字列をエンコードした文字列を返します。
...RB::Util.#url_encode,
CGI.escape,
URI.encode_www_form_component,
WEBrick::HTTPUtils.#escape_form,
WEBrick::HTTPUtils.#escape
などの使用を検討してください。
詳細は 29293 からのスレッドを参照してください。
例:
require 'uri'
p URI.escape('http://images.google.co... -
String
# shellescape -> String (15219.0) -
文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。
...文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。
string.shellescape は、Shellwords.escape(string) と等価です。
@return エスケープされた文字列を返します。
@see Shellwords.#shellescape...