ResValueFactory: small fix in regex.

This commit is contained in:
Ryszard Wiśniewski 2010-03-13 04:01:48 +01:00
parent 37bb440daf
commit 6353e27395

View File

@ -177,7 +177,7 @@ public class ResValueFactory {
private final static Pattern hexPattern =
Pattern.compile("-?[0-9a-fA-F]{1,8}");
private final static Pattern resIdPattern =
Pattern.compile("\\+?(?:|(.+?):)(.+?)/(.+?)");
Pattern.compile("\\+?(?:(.+?):|)([^:]+?)/(.+?)");
private final static int TYPE_NULL = 0x00;
private final static int TYPE_REFERENCE = 0x01;