To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=107389 Issue #|107389 Summary|regular expression ^ by itself does not work Component|framework Version|OOo 3.1.1 Platform|All URL|https://bugs.launchpad.net/openoffice/+bug/465309 OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|tm Reported by|weathergod
------- Additional comments from [email protected] Wed Dec 2 17:14:00 +0000 2009 ------- I am new at bug reporting for OOo, so I might have this filed in the wrong place. This bug was originally reported downstream in LaunchPad at https://bugs.launchpad.net/openoffice/+bug/465309 In Find&Replace, a regular expression of "^" (without the quotes) never matches anything. It should match the front of every line. For example, if you want to comment out a block of code in the Basic macro editor, it should be possible to Find ^ in a selection and replace it with "rem " and have "rem " inserted at the front of all the selected lines. But ^ alone does not work, and never matches any lines. The use of of ^ alone to match the start of lines (and, similarly $ for end-of-lines) has been a fundamental feature of regular expressions in computer systems since they were first widely used in 1970s Unix. OO should not deviate. --------------------------------------------------------------------- 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]
