einars/js-beautify — Issue #104: Regular Expression and case keyword spaces additions
Author: wisec
Created: 2012-03-07 11:03:02+00:00
State: open

Seen in a real app:
switch (true) {
case /swf/i.test(extension): ...
}

becomes:
switch(true) {
case / swf / i.test(extension):
...
}
which means that adds new spaces again on the Regular Expressions..