To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=89347 Issue #|89347 Summary|Regex Find returns false positive Mcc on search for Ma |?c Component|Word processor Version|OOo 2.3.0 RC1 Platform|PC URL| OS/Version|Windows XP Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|editing Assigned to|mru Reported by|oogachugga
------- Additional comments from [EMAIL PROTECTED] Mon May 12 20:01:17 +0000 2008 ------- I tried searching for Scottish surnames two ways, and both times found "MccHammer" inserted specifically to test the accuracy of my search string (I am preparing a lesson on regex). I then confirmed one of the strings was OK using a Perl regex-workalike package I use in programming. The search strings were: Ma?c[A-Z][a-z]+ M(ac|c)[A-Z][a-z]+ The test data was: MacGregor, McIntire, and MccHammer Again, both search strings above find all three names when each should match only the first two. It is interesting that both failed, btw. I suppose the first is converted to the second at some point? Cheers, Ken --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
