Skip to content

Commit 26ec75e

Browse files
authored
wildcard search support (#3677)
* cveRecordSearchModule: allow asterisk (*) and double-quote (") characters * add wildcard character support in search tips
1 parent 902ba49 commit 26ec75e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/cveRecordSearchModule.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
The following characters are <span class="has-text-weight-bold">NOT</span>
1919
allowed in search terms:
2020
<span class="is-family-monospace is-size-6">{{ invalidSearchCharacters }}</span>
21+
<br>
22+
The wildcard characters (*?) are now supported, which allows searching
23+
for patterns instead of only exact matches.
2124
</p>
2225
</div>
2326
<div v-else class="is-flex-grow-5">
@@ -91,7 +94,7 @@ const route = useRoute();
9194
const router = useRouter();
9295
9396
const cveRecordRouteName = 'CVERecord';
94-
const invalidSearchCharacters = ref('(){}[]"\'`<>|;!~^*+%');
97+
const invalidSearchCharacters = ref('(){}[]\'`<>|;!~^+%');
9598
const legacyOptionLabel = 'Find a Test CVE Record/ID (Legacy)';
9699
const searchOptionLabel = 'Search CVE List (Production Data)';
97100

0 commit comments

Comments
 (0)