Inspectopedia
 
2024.3

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

Info
New
Last modified: 03 December 2024

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