Searched refs:gsub (Results 201 - 212 of 212) sorted by relevance

123456789

/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/demos-jp/
H A Dwidget1061 pcmd.gsub!('%1', fname)
/macosx-10.10.1/ruby-106/ruby/test/rss/
H A Drss-assertions.rb149 pi_str = rss.to_s.gsub(/<\?xml .*\n/, "").gsub(/\s*<[^\?].*\z/m, "")
/macosx-10.10.1/ruby-106/ruby/test/ruby/
H A Dtest_io_m17n.rb2080 w << "a\n\n\nc".gsub(/\n/, "\r\n")
2092 w << "a\n\n\ncdefgh".gsub(/\n/, "\r\n")
H A Dtest_assignment.rb662 assign.gsub!(/\bv\d+\b/, "o.a")
H A Dtest_io.rb1296 assert_equal("0,1,2,2,1001,1001,1001,1,2,3,3", f.read.chomp.gsub("\n", ","))
2095 }.gsub(/^\s+/, '')
H A Dtest_proc.rb1105 assert_equal([[:rest]], "".method(:gsub).to_proc.parameters)
/macosx-10.10.1/ruby-106/ruby/lib/
H A Doptparse.rb231 Regexp.new('\A' + Regexp.quote(key).gsub(/\w+\b/, '\&\w*'), icase)
770 to << %Q[ "#{o}[#{d.gsub(/[\"\[\]]/, '\\\\\&')}]" \\\n]
1927 # eval "$OPT_#{opt.gsub(/[^A-Za-z0-9_]/, '_')} = val"
/macosx-10.10.1/ruby-106/ruby/test/rubygems/
H A Dtest_gem_remote_fetcher.rb70 PROXY_DATA = SERVER_DATA.gsub(/0.4.11/, '0.4.2')
H A Dtest_gem_specification.rb1347 def x s; s.gsub(/xxx/, ''); end
/macosx-10.10.1/ruby-106/ruby/bootstraptest/
H A Dtest_method.rb664 setup = BASE.gsub(/<TEST>/){setup}
/macosx-10.10.1/awk-20/src/
H A Drun.c1271 /* cf gsub and refldbld */
1811 Cell *gsub(Node **a, int nnn) /* global substitute */ function
1821 FATAL("out of memory in gsub");
1845 adjbuf(&buf, &bufsz, 5+pb-buf, recsize, &pb, "gsub");
1850 adjbuf(&buf, &bufsz, 1+patlen+pb-buf, recsize, &pb, "gsub");
1859 adjbuf(&buf, &bufsz, 2+pb-buf, recsize, &pb, "gsub");
1862 FATAL("gsub result0 %.30s too big; can't happen", buf);
1868 adjbuf(&buf, &bufsz, 1+(patbeg-sptr)+pb-buf, recsize, &pb, "gsub");
1873 adjbuf(&buf, &bufsz, 5+pb-buf, recsize, &pb, "gsub");
1878 adjbuf(&buf, &bufsz, 1+patlen+pb-buf, recsize, &pb, "gsub");
[all...]
/macosx-10.10.1/ruby-106/ruby/lib/rdoc/
H A Dmarkdown.rb360 method = rule.gsub("-","_hyphen_")
11652 # Label = "[" (!"^" &{ notes? } | &. &{ !notes? }) StartList:a (!"]" Inline:l { a << l })* "]" { a.join.gsub(/\s+/, ' ') }
11759 @result = begin; a.join.gsub(/\s+/, ' ') ; end
16279 Rules[:_Label] = rule_info("Label", "\"[\" (!\"^\" &{ notes? } | &. &{ !notes? }) StartList:a (!\"]\" Inline:l { a << l })* \"]\" { a.join.gsub(/\\s+/, ' ') }")

Completed in 206 milliseconds

123456789