↓ Ir para o conteúdo principal

← todas as notas

📎 Webclip

VerbalExpressions/JSVerbalExpressions

VerbalExpressions is a JavaScript library for building difficult regular expressions more easily. The page also shows how to use it in the browser and on Node.js, how to run tests, and how to build a minified version.

Reading notes
#

  • It presents VerbalExpressions v0.1.2 as a JavaScript library that helps construct difficult regular expressions.
  • It links to an up-to-date list of other ports on VerbalExpressions.github.io.
  • It asks people who want to contribute another port to open an issue with the language instead of sending PRs for other languages to this repo.
  • It gives browser setup with a script include for VerbalExpressions.js.
  • It gives Node.js setup with npm install verbal-expressions and require(verbal-expressions).
  • It says tests can be run with grunt or grunt test.
  • It says grunt build creates VerbalExpressions.min.js in a dist folder, along with a source map and the original unminified source file for debugging.
  • It shows examples for testing a valid URL and for replacing strings.
  • It points to the wiki pages for API documentation.
  • It includes a thank-you note to Ben Nadel for an article about extending native JS objects.
  • It welcomes contributions and gives a git clone command for the repo.