cryptomator / cryptomator/android

Search using glob pattern matching actual uses regex pattern matching

Open
#353 1 comment 0 reactions 0 assignees View on GitHub
type:bug
Dominant language
Kotlin
Stars
1.2k
Forks
216
PR merge metrics
No merged PRs in 30d

Description

### Please agree to the following

- [X] I have searched [existing issues](https://github.com/cryptomator/android/issues?q=) for duplicates
- [X] I agree to follow this project's [Code of Conduct](https://github.com/cryptomator/android/blob/develop/.github/CODE_OF_CONDUCT.md)

### Summary

Search using glob pattern matching actual uses regex pattern matching which is confusing

### System Setup

```markdown
- Android: x
- Cryptomator: 1.5.18
```

### Cloud Type

_No response_

### Steps to Reproduce

1. `Enable Search using glob pattern` in Cryptomator settings
2. Search `Foo*`

### Expected Behavior

Foo is found

### Actual Behavior

Foo isn't found, needs `Foo.*` to archive a quiet similar search pattern in regex than using glob pattern matching.

### Reproducibility

Always

### Relevant Log Output

_No response_

### Anything else?

Define if globbing or regex should be used and change the implementation or the title of this option.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.