Skip to content

Instantly share code, notes, and snippets.

initForUse: PHP
** WARNING: SyntaxException when compiling '(?=(?<regex>(?#simple syntax)\$(?<name>[a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*)(?:\[(?<index>[a-zA-Z0-9_\x{7f}-\x{ff}]+|\$\g<name>)\]|->\g<name>(\(.*?\))?)?|(?#simple syntax with braces)\$\{(?:\g<name>(?<indices>\[(?:\g<index>|'(?:\\.|[^'\\])*'|"(?:\g<regex>|\\.|[^"\\])*")\])?|\g<complex>|\$\{\g<complex>\})\}|(?#complex syntax)\{(?<complex>\$(?<segment>\g<name>(\g<indices>*|\(.*?\))?)(?:->\g<segment>)*|\$\g<complex>|\$\{\g<complex>\})\}))\{'
org.joni.exception.ValueException: undefined name <name> reference
at org.joni.ScannerSupport.newValueException(Unknown Source)
at org.joni.Analyser.setupSubExpCall(Unknown Source)
at org.joni.Analyser.setupSubExpCall(Unknown Source)
at org.joni.Analyser.setupSubExpCall(Unknown Source)
at org.joni.Analyser.setupSubExpCall(Unknown Source)
at org.joni.Analyser.setupSubExpCall(Unknown Source)
at org.joni.Analyser.setupSubExpCall(Unknown Source)
watch(/.*\/[^\/]+.rb$/) { |filename|
# windows work around for http://github.com/mynyml/watchr/issues#issue/10
if filename[0] =~ /_spec\.rb/
system("spec #{filename} --backtrace")
end
/(.*)\/([^\/]+).rb$/ =~ filename[0]
long_filename = $1 + '/spec/' + $2 + "/#{$2}_spec.rb"
org.eclipse.swt.SWTException: Widget is disposed
org.eclipse.swt.SWT:-1:in `error'
org.eclipse.swt.SWT:-1:in `error'
org.eclipse.swt.SWT:-1:in `error'
org.eclipse.swt.widgets.Widget:-1:in `error'
org.eclipse.swt.widgets.Widget:-1:in `checkWidget'
org.eclipse.swt.widgets.Tree:-1:in `getSelection'
org/eclipse/jface/viewers/TreeViewer.java:255:in `getSelection'
org/eclipse/jface/viewers/TreeViewer.java:343:in `setSelection'
org/eclipse/jface/viewers/AbstractTreeViewer.java:2477:in `setSelectionToWidget'
C:\dev\ruby\hitimes\spec>spec *spec.rb
..................*........................FF.FFFFF..FF..F.................FFF.FFFFF..FF..F...................FF.....................
Pending:
Hitimes::MutexedStats is unsafe normally (not for MRI -- not interruptable in this C extension)
C:/dev/ruby/hitimes/spec/mutex_stats_spec.rb:22:in `block in <top (required)>'
1)
E:\dev\ruby\hitimes\spec>spec *
..................*........................FF.FFFFFF.FF..F.................FFF.FFFFF..FF..F...................FF.....................
Pending:
Hitimes::MutexedStats is unsafe normally (not for MRI -- not interruptable in this C extension)
E:/dev/ruby/hitimes/spec/mutex_stats_spec.rb:22:in `block in <top (required)>'
1)
require 'benchmark'
def yields
yield
end
def named_block &block
block.call
end
require 'benchmark'
def yields
yield
end
def named_block &block
block.call
end
require 'benchmark'
class A
def initialize
@yo_block_1 = proc {|n| n * 2}
end
def go &block
yield (3)
currently, with no modifications
C:\dev\ruby\downloads>ruby -v ruby_trunk\test\ruby\test_io.rb
ruby 1.9.2dev (2010-04-30) [i386-mingw32]
Loaded suite ruby_trunk/test/ruby/test_io
Started
....S........E....S......................F.............E...FE......F...............F...SE
Finished in 1.752246 seconds.
ruby 1.9.2dev (2010-04-30 trunk 27566) [i686-linux]
/home/rdp/installs/ruby_trunk_installed/lib/ruby/gems/1.9.1/gems/nokogiri-1.4.1/lib/nokogiri/html/document.rb:12: warning: character class has duplicated range: /charset\s*=\s*([\w\d-]+)/
/home/rdp/installs/ruby_trunk_installed/lib/ruby/gems/1.9.1/gems/nokogiri-1.4.1/lib/nokogiri/css/generated_parser.rb:658: warning: mismatched indentations at 'end' with 'module' at 11
/home/rdp/installs/ruby_trunk_installed/lib/ruby/gems/1.9.1/gems/nokogiri-1.4.1/lib/nokogiri/css/generated_parser.rb:659: warning: mismatched indentations at 'end' with 'module' at 10
/home/rdp/installs/ruby_trunk_installed/lib/ruby/gems/1.9.1/gems/nokogiri-1.4.1/lib/nokogiri/css/generated_tokenizer.rb:55: warning: character class has duplicated range: /has\([\s\r\n\f]*/
/home/rdp/installs/ruby_trunk_installed/lib/ruby/gems/1.9.1/gems/nokogiri-1.4.1/lib/nokogiri/css/generated_tokenizer.rb:58: warning: character class has duplicated range
/home/rdp/installs/ruby_trunk_installed/lib/ruby/gems/1.