Actions
Bug #557
closedRegexp does not match longest string
Description
=begin
Regexp does not match the longest string, as do regular expression for Linux (or posix).
For example:
irb(main):001:0> r=/foo|footer/
=> /foo|footer/
irb(main):002:0> r.match('footer').offset(0)
=> [0, 3]
The same thing in C (see attachment), results in
match: 0, 6
=end
Files
Actions
Like0
Like0