版博士V2.0程序
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
CPL 9104556504 v2.0.7 报表数据修改 1 ano atrás
..
index.d.ts v2.0.7 报表数据修改 1 ano atrás
index.js v2.0.7 报表数据修改 1 ano atrás
license v2.0.7 报表数据修改 1 ano atrás
package.json v2.0.7 报表数据修改 1 ano atrás
readme.md v2.0.7 报表数据修改 1 ano atrás

readme.md

astral-regex Build Status

Regular expression for matching astral symbols

Install

$ npm install astral-regex

Usage

const astralRegex = require('astral-regex');

astralRegex({exact: true}).test('🦄');
//=> true

'foo 🦄 💩 bar'.match(astralRegex());
//=> ['🦄', '💩']

API

astralRegex([options])

Returns a RegExp for matching astral symbols.

options

Type: Object

exact

Type: boolean
Default: false (Matches any astral symbols in a string)

Only match an exact string. Useful with RegExp#test() to check if a string is a astral symbol.

License

MIT © Kevin Mårtensson