Fork me on GitHub
TypeName RegexAnalyzer
Check Id CC0010
Category Usage
Severity Error

Cause

The regular expression is invalid and will fail at run-time.

Example

Regex.Match("", "[");

Analyzer

An error will be triggered in your code:

Code fix
Code fix

Related rules

None

See also

TBD