# Regis class

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

```cs
public sealed class Regis
```

A string matching pattern.

## Methods

- [Matches](https://developer.rhino3d.com/api/gh2/type/grasshopper2.regis.regis/matches.md): Test whether a string matches this pattern.
- [NextMatch](https://developer.rhino3d.com/api/gh2/type/grasshopper2.regis.regis/nextmatch.md): (2 overloads) Find the first character which starts a match in the text for this pattern.
- [TryParse](https://developer.rhino3d.com/api/gh2/type/grasshopper2.regis.regis/tryparse.md): (static) Try and parse a string representing a regis pattern.
- [WithAnyWildcards](https://developer.rhino3d.com/api/gh2/type/grasshopper2.regis.regis/withanywildcards.md): Prepend or append any-wildcards to the pattern.
- [WithCaseInsensitive](https://developer.rhino3d.com/api/gh2/type/grasshopper2.regis.regis/withcaseinsensitive.md): Add an initial case-insensitive instruction to the pattern.
- [WithCaseSensitive](https://developer.rhino3d.com/api/gh2/type/grasshopper2.regis.regis/withcasesensitive.md): Add an initial case-sensitive instruction to the pattern.
