t4018: convert java pattern test to the new infrastructure
[gitweb.git] / userdiff.c
index 434535bd63485bc83619b4580dc86a2cd407e26d..8830417e3be09ea47453bfc1a7567d3028f274f9 100644 (file)
@@ -132,7 +132,7 @@ PATTERNS("cpp",
         "^((struct|class|enum)[^;]*)$",
         /* -- */
         "[a-zA-Z_][a-zA-Z0-9_]*"
-        "|[-+0-9.e]+[fFlL]?|0[xXbB]?[0-9a-fA-F]+[lL]?"
+        "|[-+0-9.e]+[fFlL]?|0[xXbB]?[0-9a-fA-F]+[lLuU]*"
         "|[-+*/<>%&^|=!]=|--|\\+\\+|<<=?|>>=?|&&|\\|\\||::|->\\*?|\\.\\*"),
 PATTERNS("csharp",
         /* Keywords */