UNPKG
@urban-bot/core
Version:
latest (1.0.9)
1.0.9
1.0.7
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-alpha.2
1.0.0-alpha.1
1.0.0-alpha.0
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.1.0-alpha.0
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
The universal chatbot library based on React
urban-bot.now.sh
urban-bot/urban-bot
@urban-bot/core
/
dist
/
utils
/
matchPattern.d.ts
3 lines
(2 loc)
•
138 B
TypeScript
View Raw
1
2
3
export
declare
type
Pattern
=
string
|
RegExp
;
export
declare
function
matchPattern
(
text
:
string
,
pattern
:
Pattern
|
Pattern
[]
):
boolean
;