We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8b0fc5e + e5c3b9d commit 23c21afCopy full SHA for 23c21af
index.js
@@ -126,12 +126,12 @@ const search = ({ query, type }) => {
126
};
127
128
const matchPaper = (text) => {
129
- const result = text.match(/(N\d{4}|[PD]\d{4}(R\d)?|(CWG|EWG|LWG|LEWG|FS)\d{1,3})/i);
+ const result = text.match(/(N\d{4}|[PD]\d{4}(R\d)?|(CWG|EWG|LWG|LEWG|FS)\d{1,4})/i);
130
return result === null ? undefined : result[0];
131
132
133
const matchPaperInSquareBrackets = (text) => {
134
- const result = text.match(/\[(N\d{4}|[PD]\d{4}(R\d)?|(CWG|EWG|LWG|LEWG|FS)\d{1,3})\]/i);
+ const result = text.match(/\[(N\d{4}|[PD]\d{4}(R\d)?|(CWG|EWG|LWG|LEWG|FS)\d{1,4})\]/i);
135
136
137
0 commit comments