Commit 6bc771e
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 c49d9f6 commit 6bc771e
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3050 | 3050 | | |
3051 | 3051 | | |
3052 | 3052 | | |
3053 | | - | |
| 3053 | + | |
3054 | 3054 | | |
3055 | 3055 | | |
3056 | 3056 | | |
| |||
10181 | 10181 | | |
10182 | 10182 | | |
10183 | 10183 | | |
10184 | | - | |
| 10184 | + | |
10185 | 10185 | | |
10186 | 10186 | | |
10187 | 10187 | | |
| |||
14225 | 14225 | | |
14226 | 14226 | | |
14227 | 14227 | | |
14228 | | - | |
| 14228 | + | |
14229 | 14229 | | |
14230 | | - | |
| 14230 | + | |
14231 | 14231 | | |
14232 | 14232 | | |
14233 | 14233 | | |
| |||
0 commit comments