mirror of
https://github.com/cjdenio/trax-accidents.git
synced 2026-08-05 02:46:34 +00:00
update regex
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ export default {
|
|||||||
|
|
||||||
for (const item of feed.items) {
|
for (const item of feed.items) {
|
||||||
const result = item.contentSnippet.match(
|
const result = item.contentSnippet.match(
|
||||||
/train[- ]v(?:ersus|s?\.?)?[- ](?:auto|vehicle)/i,
|
/train[- ]v(?:ers[eu]s|s?\.?)?[- ](?:auto|vehicle|car)/i,
|
||||||
);
|
);
|
||||||
|
|
||||||
let content = item.contentSnippet;
|
let content = item.contentSnippet;
|
||||||
|
|||||||
Reference in New Issue
Block a user