juliangruber / balanced-match

Match balanced character pairs, like { and }
MIT License
125 stars 40 forks source link

Update #2

Closed jeromedecoster closed 10 years ago

jeromedecoster commented 10 years ago

Hi Julian,

I added several improvements:

All tests added, everything is passed

I hope you'll like it, Jérôme

juliangruber commented 10 years ago

I merged the first two commits, removed unnecessary optimizations (proper engines optimize .length lookups) and added docs for multichar matches.

The ignoreCase feature is not necessary in my opinion, as the consumer can easily do that herself and boolean parameters in apis don't scale.

Thanks, released as 0.1.0!