# MaskingPattern enum

Namespace: [Grasshopper2.Extensions](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.extensions.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[Flags]
public enum MaskingPattern
```

Enumerates the possible filtering options to use in the String extension methods.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | No filter will be applied. |
| SingleQuotes | 1 | All characters inside single quote ranges will be masked.' This option does not support escaping and will terminate at newlines. |
| DoubleQuotes | 2 | All characters inside double quote ranges will be masked. This option does not support escaping and will terminate at newlines. |
| CsCharLiterals | 4 | All characters part of C# style char-literals will be masked. |
| CsStringLiterals | 8 | All characters part of C# style string-literals will be masked. |
| Parentheses | 1024 | All characters inside matching pairs of parenthesis '(...)' will be masked. |
| Braces | 2048 | All characters inside matching pairs of curly braces '{...}' will be masked. |
| Brackets | 4096 | All characters inside matching pairs of square brackets '[...]' will be masked. |
| AllBraces | 7168 | Specifies all three types of braces. |
| CsLineComments | 32768 | All characters after a double forward slash will be ignored until the next line. |
| CsBlockComments | 65536 | All characters inside a slash-asterisk comment block will be ignored. |
| AllCsComments | 98304 | Specifies both types of comments. |
| HashLineComments | 131072 | All characters on a line following a '#' character will be masked. |
