odoo/o-spreadsheet#6832

Created by BI, Adrien Minne (adrm)
Merged at 1fe4e3386656daba05bfa7cf5029c7eb20a3049f

Statuses:

label
odoo:master-function-regexreplace-adrm
head
b0dd8f34569781dea6b55cafaf9b5bc8bb40ddd7
merged
5 days ago by BI, Pierre Rousseau (pro)
odoo/o-spreadsheet
master #6832

[IMP] functions: Add `REGEXEXTRACT` function

Description

This commit adds the REGEXEXTRACT function, which is used to apply a regular expression to a string.

Task: 4943443

review checklist

  • [ ] feature is organized in plugin, or UI components
  • [ ] support of duplicate sheet (deep copy)
  • [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • [ ] in model/UI: ranges are strings (to show the user)
  • [ ] undo-able commands (uses this.history.update)
  • [ ] multiuser-able commands (has inverse commands and transformations where needed)
  • [ ] new/updated/removed commands are documented
  • [ ] exportable in excel
  • [ ] translations (_t("qmsdf %s", abc))
  • [ ] unit tested
  • [ ] clean commented code
  • [ ] track breaking changes
  • [ ] doc is rebuild (npm run doc)
  • [ ] status is correct in Odoo