Skip to content

wassup => waswhat is up #2

@roymap

Description

@roymap

This issue happens because the regex isn't looking for whole words. So, the string 'sup' is matched and replaces with 'what is up'.

What should happen is that 'sup' is only found when the word is 'sup'. So your regex needs to search for '\bsup' and not 'sup'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions