From cbc0d806c795e4bf8cbc7f27e512f15ea8b1c743 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 11 Nov 2023 08:08:37 -0500 Subject: [PATCH] Updated Static filter syntax (markdown) --- Static-filter-syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Static-filter-syntax.md b/Static-filter-syntax.md index bfa04ea..1b1c2f3 100644 --- a/Static-filter-syntax.md +++ b/Static-filter-syntax.md @@ -226,10 +226,10 @@ So in uBO, any pattern that reads as a valid hostname will be assumed to be equi example.com* ``` -If the filter is a filename, it is best to add a `^` at one or both ends: +If the filter is a filename, it is best to prepend with a slash to ensure it's not parsed as a hostname: ```adb -^example.js^ +/example.js ``` See also: [Narrowing options for network filters](./Filter-Performance#narrowing-options-for-network-filters)