is "\S+\s*$" with MULTILINE_MASK broken?
"Anders Cederlund" <[email protected]>
| Newsgroups | gmane.comp.jakarta.oro.devel |
|---|---|
| Message-ID | <3EC3A459.26823.1515EC7@localhost> |
We resently moved from the REGEXP package to the ORO package and several testcases broke. When matching the following text with MULTILINE_MASK " aaa bbb ccc ddd eee fff " (note that all lines ends with a space) "\S+\s*$" and "\S+ *$" does not match the same string. "\S+\s*$" matches "fff " and "\S+ *$" matches "bbb ". "\S+\s*?$" matches "bbb " though. So... bug, feature? Regards Anders C