Skip to content

Commit

Permalink
Small fix to dItem.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcernat committed Jun 14, 2013
1 parent 2b25f42 commit e8b01c2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -28,7 +28,7 @@ public class dItem implements dScriptArgument {
// TODO: Make prettier.. maybe an array of Patterns isn't even necessary anymore.
// Seperate them out instead?
final static Pattern[] getItemPtrn = {
Pattern.compile("(?:item:)?(\\w+):?(\\d+)?"),
Pattern.compile("(?:item:)?(\\w+):?(\\d+)?", Pattern.CASE_INSENSITIVE),
Pattern.compile("(?:(?:.+?:)|)item\\.(.+)", Pattern.CASE_INSENSITIVE),
Pattern.compile("(?:(?:.+?:)|)(.+)"),
};
Expand Down

0 comments on commit e8b01c2

Please sign in to comment.