sdmx-twg / vtl

This repository is used for maintaining the SDMX-VTL specification
11 stars 7 forks source link

Replace - Regular expression #397

Closed NicoLaval closed 7 months ago

NicoLaval commented 8 months ago

Issue Description

Quoting the Reference Manual:

For replace function, the second param, pattern1 is a string.

Can it be a regular expression?

I would say yes

Proposed Solution

Explicitly enable regex param for replace: update line 2723: pattern1 the pattern (regular expression) to be replaced

vpinna80 commented 8 months ago

Agree, also already implemented this way

linardian commented 7 months ago

Agreed. Current VTL 2.1 version document updated.