Skip to content

replace(::String, count=1) with empty string regression #36953

@mortenpi

Description

@mortenpi

On 1.4.2:

julia> replace("xyx", "" => '_', count=1)
"_xyx"

vs. 1.5.0 and master:

julia> replace("xyx", "" => '_', count=1)
"_x_y_x_"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorregressionRegression in behavior compared to a previous version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions