DataGrip
 
Get DataGrip
You are viewing the documentation for an earlier version of DataGrip.

Code Inspection: Redundant '\d', '[:digit:]', or '\D' class elements

Last modified: 21 March 2023

Reports redundant \d or [:digit:] that are used in one class with \w or [:word:] (\D with \W) and can be removed.

Example:

After the quick-fix is applied:

New in 2022.2