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

DATAJPA-1500 - Fix RegEx to support whitespace characters at the end. #380

Conversation

florianluediger
Copy link
Contributor

When using the creteCountQueryFor method before, the order by clause did not get removed when having a specific combination of whitespace characters at the end of the input.
By removing the $ for matching the end of the line, this is now fixed.

Link to the issue in Jira

When using the creteCountQueryFor method before, the order by clause did not get removed when having a specific combination of whitespace characters at the end of the input.
By removing the $ for matching the end of the line, this is now fixed.
schauder pushed a commit that referenced this pull request Jun 5, 2019
When using the creteCountQueryFor method before, the order by clause did not get removed when having a specific combination of whitespace characters at the end of the input.
By removing the $ for matching the end of the line, this is now fixed.

Original pull request: #380.
schauder added a commit that referenced this pull request Jun 5, 2019
Code formatting.

Original pull request: #380.
schauder pushed a commit that referenced this pull request Jun 5, 2019
When using the creteCountQueryFor method before, the order by clause did not get removed when having a specific combination of whitespace characters at the end of the input.
By removing the $ for matching the end of the line, this is now fixed.

Original pull request: #380.
schauder added a commit that referenced this pull request Jun 5, 2019
Code formatting.

Original pull request: #380.
schauder pushed a commit that referenced this pull request Jun 5, 2019
When using the creteCountQueryFor method before, the order by clause did not get removed when having a specific combination of whitespace characters at the end of the input.
By removing the $ for matching the end of the line, this is now fixed.

Original pull request: #380.
schauder added a commit that referenced this pull request Jun 5, 2019
Code formatting.

Original pull request: #380.
@schauder
Copy link
Contributor

schauder commented Jun 5, 2019

Thanks.
I applied a tiny bit of formatting, merged and backported it.

@schauder schauder closed this Jun 5, 2019
@jnizet
Copy link

jnizet commented Jun 5, 2019

Thanks for the fix @florianluediger and @schauder.

stsypanov pushed a commit to stsypanov/spring-data-jpa that referenced this pull request Dec 13, 2019
When using the creteCountQueryFor method before, the order by clause did not get removed when having a specific combination of whitespace characters at the end of the input.
By removing the $ for matching the end of the line, this is now fixed.

Original pull request: spring-projects#380.
stsypanov pushed a commit to stsypanov/spring-data-jpa that referenced this pull request Dec 13, 2019
Code formatting.

Original pull request: spring-projects#380.
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

3 participants