Escape special characters before embedding them in a regular expression.
authorJack Allnutt <m2ys4u@gmail.com>
Tue, 4 Jun 2013 16:33:18 +0000 (17:33 +0100)
committerJack Allnutt <m2ys4u@gmail.com>
Tue, 4 Jun 2013 16:37:25 +0000 (17:37 +0100)
commit0260a968f0d927b9cdc4884dd5d71df571a0f07b
tree0ddd1737311a58e62d9c9ad5b02a6a4ffad03876
parent3ec786bce5dd945e983afd7e7440f5eac7294042
Escape special characters before embedding them in a regular expression.

Fixes #279
client/assets/src/helpers/utils.js
client/assets/src/views/panel.js