web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
713 B

  1. # Char Regex [![Travis CI Build Status](https://img.shields.io/travis/com/Richienb/char-regex/master.svg?style=for-the-badge)](https://travis-ci.com/Richienb/char-regex)
  2. A regex to match any full character, considering weird character ranges. Tested on every single emoji and unicode character. Based on the Lodash implementation.
  3. [![NPM Badge](https://nodei.co/npm/char-regex.png)](https://npmjs.com/package/char-regex)
  4. ## Install
  5. ```sh
  6. npm install char-regex
  7. ```
  8. ## Usage
  9. ```js
  10. const charRegex = require("char-regex");
  11. "❤️👊🏽".match(/./);
  12. //=> ["", "", "", "", "", "", ""]
  13. "❤️👊🏽".match(charRegex());
  14. //=> ["❤️", "👊🏽"]
  15. ```
  16. ## API
  17. ### charRegex()