Commit acf4897
David Cooper
Fix pattern matches
This commit fixes three lines of code that use Bash substring matching. In each case, a list of strings to match was enclosed in brackets. This resulted in a match if the string to test contained any character from any of the strings to match. This commit fixes the issue by removing the brackets.
(The bugs were introduced in b8e9b09 and 8149c2d)1 parent 4b42608 commit acf4897
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3370 | 3370 | | |
3371 | 3371 | | |
3372 | 3372 | | |
3373 | | - | |
| 3373 | + | |
3374 | 3374 | | |
3375 | 3375 | | |
3376 | 3376 | | |
| |||
11312 | 11312 | | |
11313 | 11313 | | |
11314 | 11314 | | |
11315 | | - | |
| 11315 | + | |
11316 | 11316 | | |
11317 | 11317 | | |
11318 | 11318 | | |
| |||
16854 | 16854 | | |
16855 | 16855 | | |
16856 | 16856 | | |
16857 | | - | |
| 16857 | + | |
16858 | 16858 | | |
16859 | 16859 | | |
16860 | 16860 | | |
| |||
0 commit comments