radioreve / unbracket Goto Github PK
View Code? Open in Web Editor NEWExtract substrings between two delimiters characters
License: Other
Extract substrings between two delimiters characters
License: Other
I'm unable to test via runkit.
Even tho tests pass
> mocha
unbracket
unbracketWithParenthesis
✓ should unwrap items insides parenthesis
✓ should unwrap items and not care about nested parenthesis
unbracketWithBrackets
✓ should unwrap items insides brackets
unbracketWithCurlyBraces
✓ should unwrap items insides curly braces
unbracketWithRafters
✓ should unwrap items insides rafters
5 passing (10ms)
I'm getting the following when I use it on my code.
TypeError: unbracket.withParenthesis is not a function
at Object.<anonymous> (/Users/dean/unbracket/main.js:3:28)
at Module._compile (module.js:662:30)
at Object.Module._extensions..js (module.js:673:10)
at Module.load (module.js:575:32)
at tryModuleLoad (module.js:515:12)
at Function.Module._load (module.js:507:3)
at Function.Module.runMain (module.js:703:10)
at startup (bootstrap_node.js:193:16)```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.