Skip to content

REPLACE allows empty old. #166

@python-processing-unit

Description

@python-processing-unit

According to the specification section 9.1.5:

  • STR: REPLACE(STR: value, STR: old, STR: new) = MUST return value with every occurrence of the non-empty substring old replaced by new.

In the implementation, however, empty old succeeds as a no-op.

Metadata

Metadata

Labels

bugSomething isn't workinginterpreterRequires a code change in the interpreter.patchRequires a patch version change.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions