Skip to content

Found a mistake in your Pipe activity solution. #54

@HungryJake

Description

@HungryJake

Line 13 should be:
text = text.replace(new RegExp(\\b${word}\\b, "gi"), "$%#@!");

otherwise if the input is
"Hell, hell, what the hello hell hello" will only get the second "hell" replaced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions