redundant
Regular Expression That Matches RegExps
Submitted by kourge on Wed, 01/24/2007 - 16:52
Related Terms :
Being bored, curious, and redundant all at the same time, I thought: "What if you want to check, in JavaScript, to see if a string is a JavaScript regular expression?" The obvious answer is, in a sense, self-referencing, because you'll have to check with regular expressions too. So basically, a regular expression to check regular expressions in JavaScript. Ugh.
Recent comments
27 weeks 4 days ago
51 weeks 2 days ago
51 weeks 4 days ago
51 weeks 4 days ago
1 year 3 days ago
1 year 2 weeks ago
1 year 3 weeks ago
1 year 5 weeks ago
1 year 5 weeks ago
1 year 19 weeks ago