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 D | widget | 1061 pcmd.gsub!('%1', fname)
|
/macosx-10.10.1/ruby-106/ruby/test/rss/ |
H A D | rss-assertions.rb | 149 pi_str = rss.to_s.gsub(/<\?xml .*\n/, "").gsub(/\s*<[^\?].*\z/m, "")
|
/macosx-10.10.1/ruby-106/ruby/test/ruby/ |
H A D | test_io_m17n.rb | 2080 w << "a\n\n\nc".gsub(/\n/, "\r\n") 2092 w << "a\n\n\ncdefgh".gsub(/\n/, "\r\n")
|
H A D | test_assignment.rb | 662 assign.gsub!(/\bv\d+\b/, "o.a")
|
H A D | test_io.rb | 1296 assert_equal("0,1,2,2,1001,1001,1001,1,2,3,3", f.read.chomp.gsub("\n", ",")) 2095 }.gsub(/^\s+/, '')
|
H A D | test_proc.rb | 1105 assert_equal([[:rest]], "".method(:gsub).to_proc.parameters)
|
/macosx-10.10.1/ruby-106/ruby/lib/ |
H A D | optparse.rb | 231 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 D | test_gem_remote_fetcher.rb | 70 PROXY_DATA = SERVER_DATA.gsub(/0.4.11/, '0.4.2')
|
H A D | test_gem_specification.rb | 1347 def x s; s.gsub(/xxx/, ''); end
|
/macosx-10.10.1/ruby-106/ruby/bootstraptest/ |
H A D | test_method.rb | 664 setup = BASE.gsub(/<TEST>/){setup}
|
/macosx-10.10.1/awk-20/src/ |
H A D | run.c | 1271 /* 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 D | markdown.rb | 360 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