REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.33 KB
Close
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/URI/Escape/escape-i.yaml
Text
Base64
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: encode block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " URI.escape(str [, unsafe])\n" - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+str+:" body: String to replaces in. - !ruby/struct:SM::Flow::LI label: "+unsafe+:" body: Regexp that matches all symbols that must be replaced with codes. By default uses <tt>REGEXP::UNSAFE</tt>. When this argument is a String, it represents a character set. type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Escapes the string, replacing all unsafe characters with codes. - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n enc_uri = URI.escape("http://example.com/?a=\\11\\15")\n p enc_uri\n # => "http://example.com/?a=%09%0D"\n\n p URI.unescape(enc_uri)\n # => "http://example.com/?a=\\t\\r"\n\n p URI.escape("@?@!", "!?")\n # => "@%3F@%21"\n" full_name: URI::Escape#escape is_singleton: false name: escape params: (str, unsafe = UNSAFE) visibility: public
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
cdesc-Escape.yaml
426 B
lrw-r--r--
2023-07-26 13:47:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
decode-i.yaml
232 B
lrw-r--r--
2023-07-26 13:47:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
encode-i.yaml
247 B
lrw-r--r--
2023-07-26 13:47:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
escape-i.yaml
1.33 KB
lrw-r--r--
2023-07-26 13:47:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
unescape-i.yaml
860 B
lrw-r--r--
2023-07-26 13:47:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).