Skip to content

Fix issue where special chars cause PatternSyntaxException#2445

Merged
nicegamer7 merged 2 commits into
Multiverse:mainfrom
benwoo1110:fix-help
Jul 16, 2021
Merged

Fix issue where special chars cause PatternSyntaxException#2445
nicegamer7 merged 2 commits into
Multiverse:mainfrom
benwoo1110:fix-help

Conversation

@benwoo1110

Copy link
Copy Markdown
Member

Escape regex special chars for help command, fixes #2433

Escape regex special chars for help command
@benwoo1110 benwoo1110 added Bug: Confirmed Issue/problem with the software. PR: Bugfix Pull requests to fix bugs found in MV. and removed Bug: Confirmed Issue/problem with the software. labels Oct 9, 2020
@benwoo1110 benwoo1110 added the State: Needs Review By Dev Pull requests requires the approve of lead dev. label Nov 27, 2020
@nicegamer7

Copy link
Copy Markdown
Member

Does this break filtering?

@benwoo1110

Copy link
Copy Markdown
Member Author

From my testing no, anyways it's going to be completely changed in ACF as well.

@benwoo1110 benwoo1110 requested a review from nicegamer7 April 27, 2021 15:24
@benwoo1110

Copy link
Copy Markdown
Member Author

@nicegamer7 can we merge this or smt? (want to delete my old mv forks 😅)

Comment thread src/main/java/com/onarandombox/MultiverseCore/commands/PaginatedCommand.java Outdated

@nicegamer7 nicegamer7 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I was originally hesitant to merge this because I wasn't sure if the filter was meant to allow users to search using regex, but I came to the realization that I don't think anyone is searching for a command using regex lol.

@benwoo1110

benwoo1110 commented Jul 16, 2021

Copy link
Copy Markdown
Member Author

nah, it was just sole to fix a internal regex parsing issue

@nicegamer7 nicegamer7 merged commit 9ce2dfd into Multiverse:main Jul 16, 2021
@benwoo1110 benwoo1110 deleted the fix-help branch July 16, 2021 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Bugfix Pull requests to fix bugs found in MV. State: Needs Review By Dev Pull requests requires the approve of lead dev.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regex error when running unexpected mv command

2 participants