Permalink
Browse files

Fix regexp (related to issue 5585)

  • Loading branch information...
1 parent b922fde commit b7c23013fa40e50117787ae039c850d6e2d3dac4 @janodvarko janodvarko committed Jun 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/FBTest/content/FBTestMutation.js
@@ -215,7 +215,7 @@ MutationRecognizer.prototype.matches = function(elt, event)
function removeWhitespaces(value)
{
- return value.replace(/[\r\n\s*]/gm, "");
+ return value.replace(/[\r\n\s]+/g, "");
}
// ********************************************************************************************* //

0 comments on commit b7c2301

Please sign in to comment.