mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 10:06:23 +08:00
@@ -16,8 +16,10 @@ class IdUtils {
|
||||
static final invData = {for (var (i, c) in data.codeUnits.indexed) c: i};
|
||||
|
||||
static final bvRegex = RegExp(r'bv[0-9a-zA-Z]{10}', caseSensitive: false);
|
||||
static final bvRegexExact =
|
||||
RegExp(r'^bv[0-9a-zA-Z]{10}$', caseSensitive: false);
|
||||
static final bvRegexExact = RegExp(
|
||||
r'^bv[0-9a-zA-Z]{10}$',
|
||||
caseSensitive: false,
|
||||
);
|
||||
static final avRegex = RegExp(r'av(\d+)', caseSensitive: false);
|
||||
static final avRegexExact = RegExp(r'^av(\d+)$', caseSensitive: false);
|
||||
static final digitOnlyRegExp = RegExp(r'^\d+$');
|
||||
|
||||
Reference in New Issue
Block a user