Skip to content

[아리] 8주차 문제 제출 #244

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

ulimy
Copy link
Collaborator

@ulimy ulimy commented Aug 19, 2022

No description provided.

@ulimy ulimy added the 자바 label Aug 19, 2022
Copy link
Member

@kth990303 kth990303 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

정규표현식이 인상깊네요! 궁금한 점 코멘트로 질문드렸습니다~ 수고하셨어요!


public class Main {

private static final Pattern slumpPattern = Pattern.compile("^((D|E)(F)+)+(G)$");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

개인적으로 궁금한건데 slumpPattern 에서 (F)+가 아니고 F+라고 하면 의도대로 작동이 안되나요?
언제 그룹화를 해야 되고, 언제 안해야되는지 헷갈려서요!

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

Successfully merging this pull request may close these issues.

2 participants