Skip to content
Snippets Groups Projects
Commit 83dcfec0 authored by syuilo's avatar syuilo
Browse files

Improve MFM

parent 69ac7b73
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ export type TextElementSearch = {
};
export default function(text: string) {
const match = text.match(/^(.+?) (検索|Search)(\n|$)/i);
const match = text.match(/^(.+?)( | )(検索|\[検索\]|Search|\[Search\])(\n|$)/i);
if (!match) return null;
return {
type: 'search',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment