fix(android): make DEX descriptor pattern portable
(cherry picked from commit 1335bcddc569a1cfb34b6efedcb6f2e3aaaa3357)
This commit is contained in:
@@ -102,7 +102,7 @@ const textCoverage = z.strictObject({
|
|||||||
export const dexDescriptorSchema = z
|
export const dexDescriptorSchema = z
|
||||||
.string()
|
.string()
|
||||||
.regex(
|
.regex(
|
||||||
/^\((?:\[*(?:[ZBSCIJFD]|L[^;()]+;))*\)(?:V|\[*(?:[ZBSCIJFD]|L[^;()]+;))$/u,
|
/^\((?:\[*(?:[ZBSCIJFD]|L[^;\x28\x29]+;))*\)(?:V|\[*(?:[ZBSCIJFD]|L[^;\x28\x29]+;))$/u,
|
||||||
);
|
);
|
||||||
|
|
||||||
const method = z.strictObject({
|
const method = z.strictObject({
|
||||||
|
|||||||
Reference in New Issue
Block a user