Commit 01481c15 authored by 吕祺's avatar 吕祺 ⛹🏽

change video

parent aa6702be
......@@ -37,7 +37,7 @@
//
// Additionally, it's recommended that you use non-greedy capturing groups (e.g.
// `(.*?)` vs `(.*)`), especially if matching against newline characters.
pattern: /^<video [^<]*<\/video>$/ms,
pattern: /^<video src="([^"]*)" poster="([^"]*)" [^<]*<\/video>$/ms,
// Given a RegExp Match object
// (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/match#return_value),
// return an object with one property for each field defined in `fields`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment