Skip to content

Regex.Unescape Method

Definition

Namespace: Corvus.Ecma262.RegularExpressions
Assembly: Corvus.Regex.Ecma262.dll
Source: Regex.Matching.cs

Unescape(string)

Reverses Escape: reads the escapes it writes, and a backslash before any other character as that character.

public static string Unescape(string pattern)

Parameters

Name Type Description
pattern string The pattern.

Returns

string

The text.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue