Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.217.80
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
node-astral-regex /
Delete
Unzip
Name
Size
Permission
Date
Action
copyright
6.36
KB
-rw-r--r--
2023-12-13 08:28
readme.md
839
B
-rw-r--r--
2023-12-13 10:07
Save
Rename
# astral-regex [](https://travis-ci.org/kevva/astral-regex) > Regular expression for matching [astral symbols](https://everything2.com/title/astral+plane) ## Install ``` $ npm install astral-regex ``` ## Usage ```js 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`<br> 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](https://github.com/kevva)