== Why is this an issue?

include::../description.adoc[]

=== Noncompliant code example

[source,java]
----
"[0-9]" // Noncompliant - same as "\\d"
"[^0-9]" // Noncompliant - same as "\\D"
"[A-Za-z0-9_]" // Noncompliant - same as "\\w"
"[\\w\\W]" // Noncompliant - same as "."
"a{0,}" // Noncompliant - same as "a*"
----

=== Compliant solution

[source,java]
----
"\\d"
"\\D"
"\\w"
"."
"a*"
----

include::../implemtation.adoc[]
