Skip to content

3-6-3-crazy-regex. findOnlyDuplicates() method #164

Open
@obaibula

Description

@obaibula

It seems that the task description or test may be incorrect or unclear.

The regular expression "\b(\w+)\s\1\b" matches two consecutive instances of the same word separated by a single whitespace character (\s), but it does not actually find all duplicates in the string.

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