---
title: NEURLFilterManager.ParsingConfiguration
framework: networkextension
role: symbol
role_heading: Structure
path: networkextension/neurlfiltermanager/parsingconfiguration
---

# NEURLFilterManager.ParsingConfiguration

A type to configure the filter’s parser behavior.

## Declaration

```swift
struct ParsingConfiguration
```

## Overview

Overview Use this property to control which URL components to exclude, and to customize parsing behavior during sub-URL enumeration. By default, filtering is case-insensitive and includes all components except the scheme and the www subdomain. The filter enumerates all possible sub-URL combinations by walking up both the domain hierarchy and path hierarchy, including intermediate results. For example, given a domain of a.b.c.com, walking the domain hierarchy includes a.b.c.com, b.c.com and c.com. For a path of /a/b/c, walking the path hierarchy includes /a, /a/b, and /a/b/c. This also allows for intermediate pattern combinations. For example, example.com/a/b/c?id=123 includes example.com, example.com/a, example.com/a/b, example.com/a/b/c, and example.com/a/b/c?id=123.

## Topics

### Creating a configuration

- [init(excludeScheme:domain:path:query:excludeFragment:excludeIntermediates:caseSensitive:)](networkextension/neurlfiltermanager/parsingconfiguration/init(excludescheme:domain:path:query:excludefragment:excludeintermediates:casesensitive:).md)

### Working with configuration options

- [excludeScheme](networkextension/neurlfiltermanager/parsingconfiguration/excludescheme.md)
- [domain](networkextension/neurlfiltermanager/parsingconfiguration/domain.md)
- [NEURLFilterManager.ParsingConfiguration.DomainOptions](networkextension/neurlfiltermanager/parsingconfiguration/domainoptions.md)
- [path](networkextension/neurlfiltermanager/parsingconfiguration/path.md)
- [NEURLFilterManager.ParsingConfiguration.PathOptions](networkextension/neurlfiltermanager/parsingconfiguration/pathoptions.md)
- [query](networkextension/neurlfiltermanager/parsingconfiguration/query.md)
- [NEURLFilterManager.ParsingConfiguration.QueryOptions](networkextension/neurlfiltermanager/parsingconfiguration/queryoptions.md)
- [excludeFragment](networkextension/neurlfiltermanager/parsingconfiguration/excludefragment.md)
- [excludeIntermediates](networkextension/neurlfiltermanager/parsingconfiguration/excludeintermediates.md)
- [caseSensitive](networkextension/neurlfiltermanager/parsingconfiguration/casesensitive.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Customizing filter parsing behavior

- [urlParsingConfiguration](networkextension/neurlfiltermanager/urlparsingconfiguration.md)
- [urlParsingRegularExpression](networkextension/neurlfiltermanager/urlparsingregularexpression.md)
- [setURLParsingRegularExpression(_:)](networkextension/neurlfiltermanager/seturlparsingregularexpression(_:).md)
