cordova-android/node_modules/balanced-match/example.js
2016-02-24 09:50:07 -08:00

6 lines
154 B
JavaScript

var balanced = require('./');
console.log(balanced('{', '}', 'pre{in{nested}}post'));
console.log(balanced('{', '}', 'pre{first}between{second}post'));