backrefie

1.0.0 • Public • Published

backrefie

Lazy regex back references

Example

var backrefie = require("backrefie");
 
/"[^"]+"/.replace('such a "good" idea', backrefie("'\\1'"));
 

Docs

var replacementFunction = backrefie(replacementString)

Installation

npm install backrefie

Tests

npm test

Contributors

  • Joshua T Corbin

MIT Licenced

Readme

Keywords

none

Package Sidebar

Install

npm i backrefie

Weekly Downloads

1

Version

1.0.0

License

none

Last publish

Collaborators

  • jcorbin