diff --git a/public_html/includes/js/LSformElement_text.js b/public_html/includes/js/LSformElement_text.js
index 7116fc29..3f09785f 100644
--- a/public_html/includes/js/LSformElement_text.js
+++ b/public_html/includes/js/LSformElement_text.js
@@ -35,7 +35,7 @@ var LSformElement_text = new Class({
getDependsFields: function(format) {
var retval=new Array();
var find = 1;
- var getMotif = new RegExp('%\{(([A-Za-z0-9]+)(\:(-?[0-9])+)?(\:(-?[0-9])+)?)\}');
+ var getMotif = new RegExp('%\{(([A-Za-z0-9]+)(\:(-?[0-9])+)?(\:(-?[0-9])+)?([\!\_\~\%]+)?)\}');
var ch = null;
while (find) {
ch = getMotif.exec(format);