Fix regular expressions, thanks ChickenBones!
This commit is contained in:
parent
597b6f0d2c
commit
f92149aef5
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@ import cpw.mods.fml.common.toposort.TopologicalSort;
|
|||
*/
|
||||
public class Loader
|
||||
{
|
||||
private static Pattern zipJar = Pattern.compile("([^\\s]+).(zip|jar)$");
|
||||
private static Pattern modClass = Pattern.compile("(.*/?)(mod\\_[^\\s]+).class$");
|
||||
private static Pattern zipJar = Pattern.compile("(.+).(zip|jar)$");
|
||||
private static Pattern modClass = Pattern.compile("(.+/|)(mod\\_[^\\s$]+).class$");
|
||||
|
||||
/**
|
||||
* The state enum used to help track state progression for the loader
|
||||
|
|
Loading…
Reference in a new issue