Skip to content
Snippets Groups Projects
Verified Commit 219f4812 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

:bug: Fix our own implementation of “contains” with special characters in the pattern

Previously, “contains('foo\', '\')” would fail with an error, due to the
antislash not being escaped when calling the “regexp” function. Same for other
special characters in regular expressions (e.g. the dollar sign).

In particular, this bug would make Dynare unusable with Octave under
Windows (since commit e9d79796), because
Windows paths typically contain antislashes.

(cherry picked from commit 078b253f)
parent 9fe24271
No related branches found
No related tags found
No related merge requests found
Pipeline #11144 failed