Commit 78939683 authored by Federico Santiago Luongo Gonnet's avatar Federico Santiago Luongo Gonnet
Browse files

fix regexp countOutput

parent 93f0a5a0
......@@ -373,9 +373,9 @@ export class FuncPipe extends Pipe {
countOutput(str) {
const RegEx1 = /\([0-9]+,[0-9]+\)/; //busco un punto (par de numeros)
const RegEx2 = /\([0-9]+,[a-z]+\)i/; // Par distinto de punto
const RegEx4 = /\([a-z]+,[0-9]+\)i/; // Par distinto de punto
const RegEx5 = /\([a-z]+,[a-z]+\)i/; // Par distinto de punto
const RegEx2 = /\([0-9]+,[a-z]+\)/i; // Par distinto de punto
const RegEx4 = /\([a-z]+,[0-9]+\)/i; // Par distinto de punto
const RegEx5 = /\([a-z]+,[a-z]+\)/i; // Par distinto de punto
const RegEx3 = /^\(.*\(/; // existen 2 parentesis de apertura
if (RegEx3.test(str)){
return false
......
Markdown is supported
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