Commit 42f4eba6 authored by Davide Vernassa's avatar Davide Vernassa
Browse files

changed regex to fit whitespaces and parenthesis in columns

parent cf1a6448
......@@ -55,7 +55,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
cockpitModule_properties){
//Regular Expressions used
$scope.columnRegex = /(?:\[kn-column=[\'\"]{1}([a-zA-Z0-9\_\-]+)[\'\"]{1}(?:\s+row=[\'\"]{1}(\d*)[\'\"]{1})?\])/g;
$scope.columnRegex = /(?:\[kn-column=[\'\"]{1}([a-zA-Z0-9\_\-\s\(\)]+)[\'\"]{1}(?:\s+row=[\'\"]{1}(\d*)[\'\"]{1})?\])/g;
$scope.paramsRegex = /(?:\[kn-parameter=[\'\"]{1}([a-zA-Z0-9\_\-]+)[\'\"]{1}\])/g;
$scope.repeatIndexRegex = /\[kn-repeat-index\]/g;
$scope.gt = /(\<.*kn-.*=["].*)(>)(.*["].*\>)/g;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment