Commit 88f6c10
Fix extractPCIIDFromBrackets to handle edge cases
- Search for closing bracket after opening bracket
- Correctly calculate slice indices to avoid errors
- Handle edge cases like backwards brackets and multiple brackets
Co-authored-by: harp-intel <[email protected]>1 parent e006713 commit 88f6c10
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1493 | 1493 | | |
1494 | 1494 | | |
1495 | 1495 | | |
1496 | | - | |
1497 | | - | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
1498 | 1499 | | |
1499 | 1500 | | |
1500 | 1501 | | |
| |||
0 commit comments