Update .bashrc
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / astral-regex / readme.md
index cde44f7bc0cc83008574d2fbc9c7bd2ba6853452..89d6659a41fb4efff3fb68e4dc51e81023283124 100644 (file)
@@ -1,6 +1,6 @@
 # astral-regex [![Build Status](https://travis-ci.org/kevva/astral-regex.svg?branch=master)](https://travis-ci.org/kevva/astral-regex)
 
-> Regular expression for matching astral symbols
+> Regular expression for matching [astral symbols](https://everything2.com/title/astral+plane)
 
 
 ## Install
@@ -15,8 +15,11 @@ $ npm install astral-regex
 ```js
 const astralRegex = require('astral-regex');
 
-astralRegex({exact: true}).test('');
+astralRegex({exact: true}).test('🦄');
 //=> true
+
+'foo ðŸ¦„ ðŸ’© bar'.match(astralRegex());
+//=> ['🦄', '💩']
 ```