Skip to content

Files

Latest commit

 

History

History
17 lines (10 loc) · 705 Bytes

RequiredRegex.md

File metadata and controls

17 lines (10 loc) · 705 Bytes

Pattern: Missing Regex match

Issue: -

Description

Checks for a specified regular expression that must exist within the source code.

Property Description Default Value
regex The regular expression to check for. If null or empty then do nothing. null

A RuleSet can contain any number of instances of this rule, but each should be configured with a unique rule name and regex, and (optionally) customized violationMessage and priority.

Further Reading