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

输入正则中含有空格会导致正则被截取 #9

Merged
merged 1 commit into from Dec 14, 2022

Conversation

walk143
Copy link
Contributor

@walk143 walk143 commented Nov 18, 2022

scanner.nextLine()默认会使用"\\p{javaWhitespace}+"做为分隔符,当输入正则中含有空格时,会导致正则被截取

Which issue, if any, is this issue related to?

e.g. "Closes #000" or "None, as it's a documentation fix."

Is there anything in the PR that needs further explanation?

e.g. "No, it's self-explanatory."

`scanner.nextLine()`默认会使用`"\\p{javaWhitespace}+"`做为分隔符,当输入正则中含有空格时,会导致正则被截取
@yetingli yetingli merged commit 1d8d62f into yetingli:main Dec 14, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants