| Summary: | Documentation: Regular Expressions are no longer Wildcards | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | m_a_riosv <miguelangelrv> |
| Component: | Documentation | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | olivier.hallot, sophia.schroeder, vsfoote, xiscofauli |
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:6.3.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 120200 | ||
|
Description
m_a_riosv
2018-06-09 09:27:18 UTC
Regular Expression (LO's C++ ICU libs [1]) provide Wildcard matching--correctly known as metacharacters and operators. Prior to Eike's work on textsearch in bug 72196 for Excel interoperability, simple Wildcard--"glob" syntax [2]--based text searches did not exist, and it was convenient to refer to LibreOffice's pattern matching as "Wildcards" It is now important to make a distinction as globbing ("*" "?") metacharacters are present as operators in ICU Regex but with completely different function. Given that we support both, I would agree assigning the "Regular Expression" term for our legacy means of handling pattern matching is needed. While relegating "wildcards" use to the specialized glob style searches (currently only supported in Calc for interoperability with OOXML spreadsheets). =-ref-= [1] http://userguide.icu-project.org/strings/regexp#TOC-Regular-Expression-Metacharacters [2] https://en.wikipedia.org/wiki/Glob_(programming) Olivier Hallot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/+/7d80346111e3945a8ec6cf5bbf5258eb7402d76d%5E%21 tdf#118076 Clarify use of regexp in writer search |