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

Fix escaping backslashes in extended search #8

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

janiemi
Copy link

@janiemi janiemi commented Oct 9, 2024

This is a cherry picked from Språkbanken’s Korp frontend code to fix escaping backslashes in values entered in the extended search (see spraakbanken#316) so that such values can be searched without specifying them as a regular expression.

@janiemi
Copy link
Author

janiemi commented Oct 9, 2024

@mmatthiesencsc, would you please merge this commit? The backslash bug has been in our current Korp all the time, but I noticed it only now when testing ScotsCorr, which uses backslashes to encode line breaks.

@mmatthiesencsc mmatthiesencsc merged commit bd01f48 into master Oct 9, 2024
1 of 2 checks passed
@mmatthiesencsc mmatthiesencsc deleted the t-fix-regescape-backslashes branch October 9, 2024 12:49
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.

3 participants