package org.hiatusuk.selectorLint;

import java.util.regex.Pattern;

public class Semantic {

    public final static Pattern PATT = Pattern.compile("^(id-|:|\\\\3A )");

    public static boolean isNonSemantic( String value) {
        return value.equals("0") || value.equals("1") || isGeneratedString(value);
    }

    public static boolean isGeneratedString(final String val) {
        return /* Hack: */ val.equals("afn") || PATT.matcher(val).find();
    }
}

@@ -29,16 +29,39 @@
 rLint;%0A%0A
+import java.util.UUID;%0A
 import j
@@ -470,17 +470,235 @@
 ).find()
-;
+ %7C%7C isUUID(val);%0A    %7D%0A%0A    private static boolean isUUID(String string) %7B%0A        try %7B%0A            UUID.fromString(string);%0A            return true;%0A        %7D catch (Exception ex) %7B%0A            return false;%0A        %7D
 %0A    %7D%0A%7D

Treat all UUIDs as generated/non-semantic/low-value