bool compatibleNICodes(const Rule& rule, const std::vector<std::string> &nicodes) {
typedef std::string (Rule::*const RuleFunction)() const;
typedef RuleFunction RulePair[2];
...
C++ On Copy-Paste code with intern...
by strager,
June 12, 2010 21:27
Here's an alternative refac...
var element = document.createElement('div');
var test = '<em>Risk &<br />Compilance<br />Projects</em>';
element.innerHTML = test;
...
JavaScript On Regex: Remove all HTML tags...
by strager,
June 12, 2010 20:43
Regular expressions are bad...

Okay, you win. ;P Althoug...