暗色模式
正则是否匹配
import {isMatchRegex} from '@vill-v/regexp-match' isMatchRegex(/^g/, 'test')
declare function isMatchRegex(pattern: RegExp, value: string): boolean;