Enhance URL ignoring logic in fsurls.go to support wildcard patterns and add tests for ignoring specific URLs. Introduce a new function to convert wildcard patterns to regex for improved matching accuracy.

This commit is contained in:
Luke Hagar
2025-09-13 03:34:12 +00:00
parent d2dbfe9dd1
commit 7808f2337b
3 changed files with 37 additions and 5 deletions

5
testdata/test2_acme.md vendored Normal file
View File

@@ -0,0 +1,5 @@
Here are some example URLs that should be ignored by pattern *acme*:
- https://acme.com/logout
- http://sub.acme.example/logout
- https://docs.acme.dev