JavaScript Bracket Matching Checker: Parse expressions and return if brackets match

Recommend this page to a friend!
     
  Info   View files Files   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 64 All time: 482 This week: 2Up
Version License JavaScript version Categories
bracket-parser 1.0Freely Distributable5Parsers
Description 

Author

This object can parse expressions and return if brackets match.

It can take a text expression enclosed with brackets and determines if the number and order of open brackets correctly match the closing brackets.

Currently it supports brackets like (, [ and { .

Innovation Award
JavaScript Programming Innovation award nominee
May 2016
Number 2
Sometimes it is necessary to quickly check if an expression or even a programming code text has the right syntax, opening and closing the right brackets.

This object can implement that kind of quick check by looking if brackets match. It supports either (, [ and { brackets.

Manuel Lemos
Picture of Hakob Hakobyan
  Performance   Level  
Name: Hakob Hakobyan <contact>
Classes: 1 package by
Country: Armenia Armenia
Age: 33
All time rank: 1742 in Armenia Armenia
Week rank: 6 Up1 in Armenia Armenia Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
File Role Description
Plain text file BracketParser.js Class Class source
Accessible without login Plain text file README.md Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:64
This week:0
All time:482
This week:2Up
User Comments (1)
Thats a very good class ;-)
8 years ago (José Filipe Lopes Santos)
60%StarStarStarStar