This commit is contained in:
quat committed 2018-08-03 14:31:20 -04:00
1 parent 15f71c8a53
commit 66aa3bf6b4
1 file changed
+12
@@ -139,6 +139,18 @@ public class TileCorporeaIndex extends TileCorporeaBase implements ICorporeaRequ
@Override public int getCount(Matcher m) { return 42; }
@Override public String getName(Matcher m) { return m.group(1); }
});
// [a ]nice [of ](name) = 69
addPattern("(?:a )?nice (?:of )?(.+)", new IRegexStacker() {
@Override public int getCount(Matcher m) { return 69; }
@Override public String getName(Matcher m) { return m.group(1); }
});
// (n)[x] nice[s][ of] (name) = n * 69
addPattern("(\\d+)x?? nices?(?: of)? (.+)", new IRegexStacker() {
@Override public int getCount(Matcher m) { return 69 * i(m, 1); }
@Override public String getName(Matcher m) { return m.group(2); }
});
// <count/show/display/tell> (name) = 0 (display only)
addPattern("(?:count|show|display|tell) (.+)", new IRegexStacker() {