Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
obaibula opened this issue Mar 30, 2023 · 0 comments
Open

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

obaibula opened this issue Mar 30, 2023 · 0 comments

Comments

@obaibula
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant