New to Telerik UI for WinForms? Start a free 30-day trial

Provides regular expression patterns used by the built-in code taggers to recognize strings and comments.

Definition

Namespace:Telerik.WinForms.Documents.Model.Code

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public static class DefaultRegexPatterns

Inheritance: objectDefaultRegexPatterns

Properties

Gets a pattern for block-comment-like spans.

C#
public static string MultilineCommentPattern { get; }

Gets a pattern that matches from // to the end of a line when used with multiline regex mode.

C#
public static string SingleLineCommentPattern { get; }

Gets a pattern for text delimited by single or double quotes, with an optional @ prefix and backslash escapes. The closing quote does not have to match the opening quote.

C#
public static string StringPattern { get; }