(Regexp) StringScanner.scan_until doesn't work properly after 
StringScanner.skip is called
------------------------------------------------------------------------------------------

                 Key: JRUBY-1176
                 URL: http://jira.codehaus.org/browse/JRUBY-1176
             Project: JRuby
          Issue Type: Bug
         Environment: JRuby 1.0
            Reporter: Dmitry Verkhovsky
            Assignee: Thomas E Enebo
             Fix For: JRuby 1.0.0


test.rb:

require 'strscan'

s = StringScanner.new " a"
s.skip(/\s/)
p s.scan_until(/\Aa/)

Output:

ruby test_scan.rb
"a"

jruby test_scan.rb
nil


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to