summaryrefslogtreecommitdiff
path: root/include/formula/compiler.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-10-24 19:42:35 +0200
committerEike Rathke <erack@redhat.com>2018-10-25 12:13:58 +0200
commit8dec85a3b3f4cbd46b03f707458347a25cc22c15 (patch)
treeef417d0d2a8d71e00804e5e531a84e0c5236b052 /include/formula/compiler.hxx
parentae081cc1137fc0f41612504994d58fe0d9c0a7fc (diff)
Resolves: tdf#113977 implement REGEX() spreadsheet function
REGEX( Text ; Expression [ ; Replacement ] ) Using ICU regular expressions http://userguide.icu-project.org/strings/regexp Change-Id: I4cb9b8ba77cfb5b8faab93037aa0d947609383d7 Reviewed-on: https://gerrit.libreoffice.org/62332 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'include/formula/compiler.hxx')
-rw-r--r--include/formula/compiler.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/formula/compiler.hxx b/include/formula/compiler.hxx
index 0d5b1cc8f632..09a507fc3d68 100644
--- a/include/formula/compiler.hxx
+++ b/include/formula/compiler.hxx
@@ -505,7 +505,8 @@
#define SC_OPCODE_REPLACEB 494
#define SC_OPCODE_FINDB 495
#define SC_OPCODE_SEARCHB 496
-#define SC_OPCODE_STOP_2_PAR 497 /* last function with two or more parameters' OpCode + 1 */
+#define SC_OPCODE_REGEX 497
+#define SC_OPCODE_STOP_2_PAR 498 /* last function with two or more parameters' OpCode + 1 */
#define SC_OPCODE_STOP_FUNCTION SC_OPCODE_STOP_2_PAR /* last function's OpCode + 1 */
#define SC_OPCODE_LAST_OPCODE_ID (SC_OPCODE_STOP_FUNCTION - 1) /* last OpCode */