We want this regex to match on everything that is not the literal string
'ResourceFileModule' or 'ResourceImageModule' (actually
'ResourceLoaderWikiModule' should be in this too, but I'll fix that in a
follow-up). But the current regex would not match if one of those was in a
substring.
The new regex should match everything that is *not* those two strings.
Bug: T216861
Change-Id: I7d888adfdc67b2075028e49432710308aa0125af
"properties": {
"class": {
"type": "string",
- "pattern": "^((?!ResourceLoader(File|Image)Module).)*$"
+ "pattern": "^(?!ResourceLoader(File|Image)Module).*$"
}
},
"required": ["class"]
"properties": {
"class": {
"type": "string",
- "pattern": "^((?!ResourceLoader(File|Image)Module).)*$"
+ "pattern": "^(?!ResourceLoader(File|Image)Module).*$"
}
},
"required": ["class"]