Skip to content

Conversation

@Sparrkle
Copy link
Contributor

Throw exception when type "#, &, *, @".

@onesounds onesounds added the bug Something isn't working label Sep 14, 2022

// Reserved keywords in oleDB
private const string reservedStringPattern = @"^[`\@\#\^,\&\/\\\$\%_;\[\]]+$";
private const string reservedStringPattern = @"^[`\@\@\#\#\*\^,\&\&\/\\\$\%_;\[\]]+$";
Copy link
Member

Choose a reason for hiding this comment

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

I am curious why these additional character need escape? They are not really special character for regex.

Copy link
Contributor Author

@Sparrkle Sparrkle Sep 16, 2022

Choose a reason for hiding this comment

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

if those characters are entered alone, an error in ole db.
Its so weird..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In Korean, special characters are sometimes entered with function keys. There is a problem that is recognized the same even if # and # are different.

@taooceros taooceros enabled auto-merge (squash) September 21, 2022 21:06
@taooceros taooceros merged commit d9d2cfb into Flow-Launcher:dev Sep 21, 2022
@jjw24 jjw24 added this to the 1.10.0 milestone Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants