NOTE: This post is a sibling post to... Natively Format JavaScript Dates and Times https://elijahmanor.com/format-js-dates-and-times
567 karma · joined October 7, 2010
Nice function to convert annotated string to a regex. I wonder if this is being considered in the next versions of JavaScript? Or better yet... native annotation?
I like the CoffeeScript approach since that logic is done at compile time and not when it is being executed.
So if you have data-mytype & data-mytyphoon you can match both of them with one selector doing a starts with type syntax.
The idea is similar to the attribute selectors native in jQuery. I should be posting it soon.
Other things to look for are Unit Test coverage and to make sure it is a up-to-date plugin.
What else do you all look for?