$55 GRAYBYTE WORDPRESS FILE MANAGER $41

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/ruby18/share/ri/1.8/system/REXML/Source/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/REXML/Source//scan-i.yaml
--- !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


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
cdesc-Source.yaml
1.269 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
consume-i.yaml
0.18 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
current_line-i.yaml
0.256 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
empty%3f-i.yaml
0.245 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
encoding%3d-i.yaml
0.279 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
match-i.yaml
0.186 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
match_to-i.yaml
0.188 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
match_to_consume-i.yaml
0.203 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
0.396 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
position-i.yaml
0.173 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
read-i.yaml
0.165 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
scan-i.yaml
1.098 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF