Issue #16491 has been reported by hakehuang (hake huang).

----------------------------------------
Feature #16491: ruby string scan can not support full regex string feature
https://bugs.ruby-lang.org/issues/16491

* Author: hakehuang (hake huang)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
I have a complex regex string which works fine with match method, but fails with scan. and I think it is because the scan method does not implement full function link match. please see attached test file.

the test match regex is /<testsuites((?!<\/testsuites>).|\n)+<\/testsuites>/m

---Files--------------------------------
test.rb (1.9 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>